Skip to content

Commit

Permalink
chore: skip duplicate ci workflows (#1021)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonocasey authored Dec 4, 2020
1 parent bf63692 commit 20cc4a3
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,21 @@ name: ci
on: [push, pull_request]

jobs:
should-skip:
continue-on-error: true
runs-on: ubuntu-latest
# Map a step output to a job output
outputs:
should-skip-job: ${{ steps.skip-check.outputs.should_skip }}
steps:
- id: skip-check
uses: fkirc/[email protected]
with:
github_token: ${{ github.token }}

ci:
needs: should-skip
if: ${{ needs.should-skip.outputs.should-skip-job != 'true'}}
env:
BROWSER_STACK_USERNAME: ${{ secrets.BROWSER_STACK_USERNAME }}
BROWSER_STACK_ACCESS_KEY: ${{ secrets.BROWSER_STACK_ACCESS_KEY }}
Expand Down

0 comments on commit 20cc4a3

Please sign in to comment.