Skip to content

Commit 7815a49

Browse files
committed
Upgrade libs
1 parent fa03567 commit 7815a49

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
run: ./gradlew ${{ matrix.project }}:build
4444
shell: bash
4545
- name: Tag automerge branch
46+
if: github.event_name == 'pull_request'
4647
uses: TimonVS/[email protected]
4748
with:
4849
configuration-path: .github/pr-labeler.yml

src/typeflows/kotlin/BuildWorkflow.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import io.typeflows.github.workflow.GitHub
12
import io.typeflows.github.workflow.Job
23
import io.typeflows.github.workflow.Output
34
import 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 }}"

0 commit comments

Comments
 (0)