Skip to content
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

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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