Skip to content

Commit

Permalink
Move bump-version to PR only (#400)
Browse files Browse the repository at this point in the history
* only trigger on PRs

* Bump version number

* update to use key to trigger other workflows

* Bump version number

* move token to commit step

Co-authored-by: itsthejoker <itsthejoker@users.noreply.github.com>
  • Loading branch information
itsthejoker and itsthejoker committed Apr 18, 2022
1 parent bcbbda7 commit 0b1d247
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Bump Version Number
on:
push:
branches:
- master
pull_request:
branches: [ master ]
types: [ opened ]

jobs:
run:
Expand Down Expand Up @@ -37,3 +37,9 @@ jobs:
committer_name: GitHub Actions
committer_email: actions@github.com
add: 'pyproject.toml'
GITHUB_TOKEN: ${{ secrets.GRAFEAS_GH_PAT }}
continue-on-error: true

# https://github.com/actions/toolkit/issues/399#issuecomment-1058231820
- name: Allow failures
run: true
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "blossom"
version = "1.66.0"
version = "1.68.0"
description = "The site!"
authors = ["Grafeas Group Ltd. <devs@grafeas.org>"]

Expand Down

0 comments on commit 0b1d247

Please sign in to comment.