We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 6bcb89e commit 30d5b66Copy full SHA for 30d5b66
.github/workflows/mocha.yml
@@ -6,14 +6,13 @@ name: Tests
6
- opened
7
- synchronize
8
- reopened
9
- branches:
10
- # Branches from forks have the form 'user:branch-name'
11
- - '**:**'
12
13
jobs:
14
prepare-commit-msg:
15
name: Retrieve head commit message
16
runs-on: ubuntu-latest
+ # Run 'pull-request' event only on external PRs from forked repos.
+ if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
17
outputs:
18
HEAD_COMMIT_MSG: '${{ steps.commitMsg.outputs.HEAD_COMMIT_MSG }}'
19
steps:
0 commit comments