Improve the github actions #4
This file contains 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: Semantic Versioning Label | ||
on: | ||
push: | ||
branches: | ||
- v2/master | ||
jobs: | ||
semver_tag_from_pr: | ||
Check failure on line 9 in .github/workflows/semver-lable.yml GitHub Actions / Semantic Versioning LabelInvalid workflow file
|
||
needs: [golangci, test] | ||
permissions: | ||
contents: write | ||
pull-requests: read | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: "0" # we need full git-history to determine the last semVer tag | ||
- name: bump semVer | ||
uses: simontheleg/[email protected] | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} |