Skip to content

Commit

Permalink
properly trigger checks from deps workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael-theriault-swi committed Aug 28, 2023
1 parent 2fcae93 commit 354d7e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Checks
on:
- push
- pull_request
- workflow_dispatch

jobs:
checks:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- run: yarn up -R '**'
- run: yarn dedupe

# https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#triggering-a-workflow-from-a-workflow
- name: PR
run: |
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
Expand All @@ -32,5 +33,6 @@ jobs:
git push origin +actions/lockfile
gh pr create -B ${{ github.ref_name }} -t "Update lockfile" --body-file .github/resources/lockfile-pr-body.md
gh workflow run checks.yml -r actions/lockfile
env:
GITHUB_TOKEN: ${{ github.token }}

0 comments on commit 354d7e7

Please sign in to comment.