Skip to content

Commit 4f7e2f7

Browse files
committed
WIP!
1 parent 043db64 commit 4f7e2f7

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Confetti
2+
3+
on:
4+
# Trigger GHA on pull request creation (opened/reopened) and on new commit to the HEAD ref of a pull request (synchronize)
5+
pull_request:
6+
types: [ opened, synchronize, reopened ]
7+
8+
# Trigger GHA manually, such-as by using the CLI of `$ gh workflow run ...`
9+
workflow_dispatch: {}
10+
11+
jobs:
12+
Confetti:
13+
name: Confetti
14+
runs-on: [ mariner2 ]
15+
permissions:
16+
pull-requests: write
17+
contents: write
18+
steps:
19+
- uses: actions/checkout@v4
20+
with:
21+
fetch-depth: 0
22+
23+
- name: Run Confetti
24+
uses: linkedin-actions/confetti-action/validate@v1
25+
26+
- name: Summary Comment
27+
if: always() # Always run this step, even if the previous step fails
28+
uses: linkedin-actions/confetti-action/comment@v0
29+
with:
30+
github_token: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
protected_branches:
2+
- branch_name_patterns:
3+
- master
4+
github_branch_protection_rule:
5+
required_checks:
6+
- Confetti

0 commit comments

Comments
 (0)