Merge pull request #80 from IvanOfThings/78-bug-remote-privilege-caus… #37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Based on https://github.com/leonsteinhaeuser/project-beta-automations | |
| name: "Creating version with semantic release on merging Issues/PRs" | |
| on: | |
| push: | |
| branches: [master] | |
| permissions: | |
| contents: write # needed for creating tags and releases | |
| actions: write # needed for triggering other workflows | |
| jobs: | |
| merge-content-to-project: | |
| name: "Add Content to project" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Check out code into the Go module directory | |
| uses: actions/checkout@v4 | |
| - name: "Release with semantic-release" | |
| run: npx semantic-release --debug | |
| env: | |
| # Use PAT to allow triggering other workflows | |
| GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN || secrets.GITHUB_TOKEN }} |