Skip to content

WEB3-362: chore: Run actions requiring secrets not from forks #457

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Mar 18, 2025
4 changes: 3 additions & 1 deletion .github/workflows/linear.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
pull_request:
branches:
- main
types: ["opened", "edited", "reopened", "synchronize"]
types: [ "opened", "edited", "reopened", "synchronize" ]

permissions:
pull-requests: write
Expand All @@ -17,6 +17,8 @@ concurrency:

jobs:
create-linear-issue-pr:
# Skip if the PR is not from a fork.
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
runs-on: ubuntu-latest
steps:
- name: Find or create a Linear Issue
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ jobs:
run: ../.github/scripts/forge-test.sh
working-directory: examples
- name: cargo run -F verify all examples
# Run the verification only if the PR is not from a fork.
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
run: ../.github/scripts/run-verify.sh
working-directory: examples
env:
Expand Down
Loading