This repository has been archived by the owner on Jan 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
converted main.workflow to Actions V2 yml files
- Loading branch information
1 parent
4d7c5c6
commit d3f7b52
Showing
3 changed files
with
30 additions
and
26 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
on: issue_comment | ||
name: Automatic Rebase | ||
jobs: | ||
rebase: | ||
name: Rebase | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Rebase | ||
uses: docker://cirrusactions/rebase:latest | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
on: pull_request | ||
name: Re-run check-label when label changes | ||
jobs: | ||
action-filter: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: action-filter | ||
uses: actions/bin/filter@master | ||
with: | ||
args: action 'labeled|unlabeled' | ||
- name: fire check-label | ||
uses: swinton/httpie.action@69125d73caa2c6821f6a41a86112777a37adc171 | ||
env: | ||
CIRCLE_API_TOKEN: ${{ secrets.CIRCLE_API_TOKEN }} | ||
with: | ||
args: '-v -a=${CIRCLE_API_TOKEN}: POST https://circleci.com/api/v1.1/project/github/apollographql/space-kit/tree/${GITHUB_REF#*refs/heads/} | ||
"build_parameters:=''{\"CIRCLE_JOB\": \"check-label\"}''"' |