fix: add graph api key (#5917) #3244
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
# Bumps the package version with a patch if the version wasn't already updated | |
# - This is skipped if there is already a version bump in the merged PR | |
# Tags each push to master with version in package.json if not already a tag. | |
name: BumpTag | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
BumpTag: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Bump version | |
uses: 'timjrobinson/gh-action-bump-version@master' | |
with: | |
commit-message: '{{version}}' | |
minor-wording: '' | |
major-wording: '' | |
env: | |
GITHUB_TOKEN: ${{ secrets.BALOPCO_BUMPTAG_PAT }} | |
- name: Create tag | |
uses: Klemensas/action-autotag@stable | |
with: | |
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' | |
- uses: actions/checkout@v3 | |
- name: Push to deploy branch | |
shell: bash | |
run: | | |
[[ $(git log -1 --oneline) =~ ^.*([0-9]+\.[0-9]+\.[0-9]+)$ ]] || exit 0 | |
git config --global user.name "GitHub Actions" | |
git config --global user.email "github-actions[bot]@users.noreply.github.com" | |
git branch -f deploy | |
git push -f origin deploy |