fix(http): ENG-2813 request signing (#52) #41
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
| name: Release | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| permissions: | |
| id-token: write # required for OIDC | |
| # required for semantic-release | |
| contents: write | |
| pull-requests: write | |
| issues: write | |
| jobs: | |
| release: | |
| name: Release | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| token: ${{ secrets.PLIBOT_PAT }} | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: 24 | |
| - name: Install dependencies | |
| run: yarn --ignore-scripts | |
| - name: Build | |
| run: yarn build | |
| - name: Release | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| # Run semantic release and copy updated package.json back to the root of the repo. | |
| run: yarn semantic-release | |
| # Commit changes to package.json and README.md | |
| - name: Auto Commit | |
| uses: stefanzweifel/git-auto-commit-action@v7 | |
| env: | |
| SKIP_COMMITIZEN: true | |
| with: | |
| # Optional, but recommended | |
| # Defaults to "Apply automatic changes" | |
| commit_message: ${{ github.event.head_commit.message }} [skip ci] | |
| # Avoid running husky here | |
| commit_options: '--no-verify' | |
| # Optional glob pattern of files which should be added to the commit | |
| # Defaults to all (.) | |
| # See the `pathspec`-documentation for git | |
| # - https://git-scm.com/docs/git-add#Documentation/git-add.txt-ltpathspecgt82308203 | |
| # - https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddefpathspecapathspec | |
| file_pattern: package.json | |
| # Optional. Disable dirty check and always try to create a commit and push | |
| skip_dirty_check: false | |
| # Optional. Skip internal call to `git fetch` | |
| skip_fetch: true | |
| # PliBot is allowed to force-push, bypassing the branch protections | |
| push_options: --force |