Skip to content

Commit

Permalink
chore(22.04): fix pkg-deps job
Browse files Browse the repository at this point in the history
This commit fixes the pkg-deps job with proper event and permissions.
  • Loading branch information
rebornplusplus committed Mar 15, 2024
1 parent ffa21b5 commit 7275f76
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci-pr-target.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# This workflow supports jobs which needs the on.pull_request_target event
# instead of the usual on.pull_request event.
name: CI
run-name: CI for ${{ github.ref }}

on:
pull_request_target:
branches:
- "ubuntu-*"

jobs:
pkg-deps:
name: Package dependencies
uses: rebornplusplus/chisel-releases/.github/workflows/pkg-deps.yaml@main
5 changes: 0 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,3 @@ jobs:
lint:
name: Lint
uses: canonical/chisel-releases/.github/workflows/lint.yaml@main

pkg-deps:
if: github.event_name == 'pull_request'
name: Package dependencies
uses: canonical/chisel-releases/.github/workflows/pkg-deps.yaml@main

0 comments on commit 7275f76

Please sign in to comment.