mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 09:05:55 +00:00
Fix PR detection logic in CI
This commit is contained in:
parent
fa21c81a27
commit
316bd87a8a
1 changed files with 3 additions and 5 deletions
|
|
@ -66,7 +66,8 @@ jobs:
|
|||
executor:
|
||||
name: golang
|
||||
steps:
|
||||
- run: curl https://moleculacorp:$GITHUB_PERSONAL_ACCESS_TOKEN@api.github.com/repos/molecula/pilosa/pulls/$CIRCLE_PR_NUMBER | jq "[.labels[] | .name | startswith(\"changelog\")] | any" -e
|
||||
- run: '[[ -n $CIRCLE_PULL_REQUEST ]] || circleci step halt || true' # Skip if this is not a pull request
|
||||
- run: curl https://moleculacorp:$GITHUB_PERSONAL_ACCESS_TOKEN@api.github.com/repos/molecula/pilosa/pulls/$(basename $CIRCLE_PULL_REQUEST) | jq "[.labels[] | .name | startswith(\"changelog\")] | any" -e
|
||||
test-build-arm:
|
||||
executor:
|
||||
name: golang
|
||||
|
|
@ -184,12 +185,9 @@ workflows:
|
|||
requires:
|
||||
- setup
|
||||
- check-changelog-label:
|
||||
context: molecula
|
||||
requires:
|
||||
- setup
|
||||
# the following should make this only run on pull requests
|
||||
filters:
|
||||
branches:
|
||||
only: /^pull\/.*$/
|
||||
- test-build-arm:
|
||||
requires:
|
||||
- setup
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue