File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 4343 run : ./gradlew ${{ matrix.project }}:build
4444 shell : bash
4545 - name : Tag automerge branch
46+ if : github.event_name == 'pull_request'
46474748 with :
4849 configuration-path : .github/pr-labeler.yml
Original file line number Diff line number Diff line change 1+ import io.typeflows.github.workflow.GitHub
12import io.typeflows.github.workflow.Job
23import io.typeflows.github.workflow.Output
34import io.typeflows.github.workflow.RunsOn
@@ -60,6 +61,7 @@ class BuildWorkflow : Builder<Workflow> {
6061 name = " Build and test module"
6162 }
6263 steps
+ = UseAction (
" TimonVS/[email protected] " ) {
64+ condition = GitHub .event_name.isEqualTo(" pull_request" )
6365 name = " Tag automerge branch"
6466 with + = mapOf (" configuration-path" to " .github/pr-labeler.yml" )
6567 env + = " GITHUB_TOKEN" to $$" ${{ secrets.ORG_PUBLIC_REPO_RELEASE_TRIGGERING }} "
You can’t perform that action at this time.
0 commit comments