Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Commit

Permalink
converted main.workflow to Actions V2 yml files
Browse files Browse the repository at this point in the history
  • Loading branch information
justinanastos committed Sep 17, 2019
1 parent 4d7c5c6 commit d3f7b52
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 26 deletions.
26 changes: 0 additions & 26 deletions .github/main.workflow

This file was deleted.

12 changes: 12 additions & 0 deletions .github/workflows/issue_comment.yml
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 }}
18 changes: 18 additions & 0 deletions .github/workflows/pull_request.yml
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\"}''"'

0 comments on commit d3f7b52

Please sign in to comment.