V2/docker image (#107) #1
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: | |
# permissions required to find PR for last commit and push the new tag | |
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 | |
ssh-key: ${{ secrets.semver_github_action }} | |
- name: bump semVer | |
uses: simontheleg/semver-tag-from-pr-action@v1 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
repo_ssh_key: ${{ secrets.SEMVER_GITHUB_ACTION_PRIVATE }} |