Add Environment role assignment indicator (#53878) #700
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: Tag SDK Releases | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| tag-go-js-release-commits: | |
| name: Tag Go & JS release commits | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| fetch-depth: 0 | |
| sparse-checkout: | | |
| js/package.json | |
| .github/scripts/tag-go-js-releases.sh | |
| fetch-tags: true | |
| - name: Config git user | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| - name: Tag and push | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| COMMITS: ${{ join(github.event.commits.*.id, ' ') }} | |
| run: bash .github/scripts/tag-go-js-releases.sh | |
| tag-py-release-commits: | |
| name: Tag Python release commits | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| fetch-depth: 0 | |
| sparse-checkout: | | |
| py/modal_version/__init__.py | |
| .github/scripts/tag-py-releases.sh | |
| fetch-tags: true | |
| - name: Config git user | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| - name: Tag and push | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| COMMITS: ${{ join(github.event.commits.*.id, ' ') }} | |
| run: bash .github/scripts/tag-py-releases.sh |