Skip to content

Bump github.com/aws/aws-sdk-go from 1.54.4 to 1.54.7 #145

Bump github.com/aws/aws-sdk-go from 1.54.4 to 1.54.7

Bump github.com/aws/aws-sdk-go from 1.54.4 to 1.54.7 #145

Workflow file for this run

name: Tag Release
on:
pull_request:
types:
- closed
jobs:
tag:
if: (github.event.pull_request.merged == true && (startsWith(github.head_ref, 'release/') || startsWith(github.head_ref, 'pre-release/')))
environment: release
name: Tag Release
runs-on: ubuntu-latest
env:
BRANCH: ${{ github.head_ref }}
outputs:
tag: ${{ steps.tag.outputs.tag }}
version: ${{ steps.tag.outputs.version }}
steps:
- name: Check out code
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
ref: ${{ env.BRANCH }}
- name: Tag and kick release
id: tag
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
version=$(echo "$BRANCH" | awk -F '/' '{print $2}')
tag="v${version}"
git tag "${tag}"
git push origin "${tag}"
echo "tag=${tag}" >> "$GITHUB_OUTPUT"
echo "version=${version}" >> "$GITHUB_OUTPUT"
cat "$GITHUB_OUTPUT"
release-post-merge:
needs:
- tag
uses: ./.github/workflows/release-post-merge.yml
secrets: inherit
with:
tag: ${{ needs.tag.outputs.tag }}
sboms-pr:
needs:
- tag
uses: ./.github/workflows/sboms.yml

Check failure on line 50 in .github/workflows/tag.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/tag.yml

Invalid workflow file

error parsing called workflow ".github/workflows/tag.yml" -> "./.github/workflows/sboms.yml" : failed to fetch workflow: workflow was not found.
secrets: inherit
with:
version: ${{ needs.tag.outputs.version }}