chore(deps): update dependency cfn-lint to v1.43.0 (#659) #661
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 new releases of cfn-lint | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths-ignore: | |
| - "**.md" | |
| jobs: | |
| tag-new-releases: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| with: | |
| token: ${{ secrets.ADRIANMACE_PAT }} | |
| - name: Get the current tag from the file | |
| run: | | |
| echo "VERSION=$(sed -rz -e 's/^cfn-lint==([^\n]*)(.*)$/\1/g' requirements.txt)" >> $GITHUB_ENV | |
| - name: Tag commit with cfn-lint version | |
| run: | | |
| git tag --force 'v${{ env.VERSION }}' master | |
| - name: Push commits to Github | |
| uses: ad-m/github-push-action@master | |
| with: | |
| github_token: ${{ secrets.ADRIANMACE_PAT }} | |
| tags: true | |
| force: true |