Skip to content

Commit

Permalink
Update argos.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-Electron authored Jan 7, 2024
1 parent 3c389cd commit a051e6a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/argos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@ on:
pull_request:
branches: [main]

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
take-screenshots:
if: ${{ github.ref_name == 'main' || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'Argos')) }}
runs-on: ubuntu-latest
steps:
- name: Check out repository code
Expand All @@ -34,4 +39,4 @@ jobs:
run: yarn playwright test

- name: Upload screenshots to Argos
run: yarn argos upload ./screenshots
run: yarn argos upload ./screenshots

0 comments on commit a051e6a

Please sign in to comment.