Skip to content

Commit

Permalink
ci: limit duplication in release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh committed Aug 5, 2024
1 parent 7be3b54 commit 58afb97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 25 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/release-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,8 @@ name: Release Checker

on:
pull_request_target:
paths: [
"dispatch_examples/greeter/Cargo.toml",
"frc42_dispatch/Cargo.toml",
"frc42_dispatch/hasher/Cargo.toml",
"dispatch_examples/greeter/Cargo.toml",
"frc42_dispatch/Cargo.toml",
"frc42_dispatch/hasher/Cargo.toml",
"frc42_dispatch/macros/Cargo.toml",
"frc46_token/Cargo.toml",
"frc53_nft/Cargo.toml",
"fvm_actor_utils/Cargo.toml",
"fvm_dispatch_tools/Cargo.toml"
]
paths:
- "**/Cargo.toml"
types: [ opened, synchronize, reopened, labeled, unlabeled ]
workflow_dispatch:

Expand All @@ -32,7 +21,6 @@ jobs:
with:
sources: |
[
"dispatch_examples/greeter/Cargo.toml",
"frc42_dispatch/Cargo.toml",
"frc42_dispatch/hasher/Cargo.toml",
"frc42_dispatch/macros/Cargo.toml",
Expand Down
13 changes: 2 additions & 11 deletions .github/workflows/releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,8 @@ name: Releaser

on:
push:
paths: [
"dispatch_examples/greeter/Cargo.toml",
"frc42_dispatch/Cargo.toml",
"frc42_dispatch/hasher/Cargo.toml",
"frc42_dispatch/macros/Cargo.toml",
"frc46_token/Cargo.toml",
"frc53_nft/Cargo.toml",
"fvm_actor_utils/Cargo.toml",
"fvm_dispatch_tools/Cargo.toml"
]
paths:
- "**/Cargo.toml"
workflow_dispatch:

permissions:
Expand All @@ -27,7 +19,6 @@ jobs:
with:
sources: |
[
"dispatch_examples/greeter/Cargo.toml",
"frc42_dispatch/Cargo.toml",
"frc42_dispatch/hasher/Cargo.toml",
"frc42_dispatch/macros/Cargo.toml",
Expand Down

0 comments on commit 58afb97

Please sign in to comment.