Skip to content

Commit 4c8fb11

Browse files
committed
ci: workflows
1 parent 5e7913f commit 4c8fb11

File tree

4 files changed

+44
-4
lines changed

4 files changed

+44
-4
lines changed

.github/workflows/apply-labels.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,15 @@
88
# https://github.com/actions/labeler/blob/master/README.md
99

1010
on: # yamllint disable-line rule:truthy
11-
pull_request:
11+
pull_request_target:
12+
types:
13+
- opened
1214

1315
name: 🏷️ Add labels
1416

1517
jobs:
1618
label:
17-
uses: wayofdev/gh-actions/.github/workflows/apply-labels.yml@v3.1.1
19+
uses: wayofdev/gh-actions/.github/workflows/apply-labels.yml@v3.2.0
1820
with:
1921
os: ubuntu-latest
2022
secrets:

.github/workflows/auto-merge-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ name: 🤞 Auto merge release
1515

1616
jobs:
1717
auto-merge:
18-
uses: wayofdev/gh-actions/.github/workflows/auto-merge-release.yml@v3.1.1
18+
uses: wayofdev/gh-actions/.github/workflows/auto-merge-release.yml@v3.2.0
1919
with:
2020
os: ubuntu-latest
2121
pull-request-number: ${{ github.event.pull_request.number }}

.github/workflows/merge.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
3+
on: # yamllint disable-line rule:truthy
4+
workflow_run:
5+
types:
6+
- completed
7+
workflows:
8+
- '🧪 Test Docker images'
9+
10+
name: 📥 Merge pull requests
11+
12+
jobs:
13+
merge:
14+
runs-on: ubuntu-latest
15+
timeout-minutes: 5
16+
if: >
17+
github.event.workflow_run.event == 'pull_request' &&
18+
github.event.workflow_run.conclusion == 'success' &&
19+
github.actor == 'renovate[bot]' && (
20+
startsWith(github.event.workflow_run.head_commit.message, 'deps(deps)')
21+
)
22+
steps:
23+
- name: 🙋‍♂️ Request reviewer from @way-finder-bot
24+
uses: wayofdev/gh-actions/actions/github/pull-request/request-review@v3.2.0
25+
with:
26+
reviewer: 'way-finder-bot'
27+
github-token: "${{ secrets.WAY_FINDER_BOT_TOKEN }}"
28+
29+
- name: 🙋‍♂️ Assign @way-finder-bot
30+
uses: wayofdev/gh-actions/actions/github/pull-request/add-assignee@v3.2.0
31+
with:
32+
assignee: 'way-finder-bot'
33+
github-token: "${{ secrets.WAY_FINDER_BOT_TOKEN }}"
34+
35+
- name: ✅ Approve pull request
36+
uses: wayofdev/gh-actions/actions/github/pull-request/approve@v3.2.0
37+
with:
38+
github-token: "${{ secrets.WAY_FINDER_BOT_TOKEN }}"

.github/workflows/shellcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313

1414
jobs:
1515
shellcheck:
16-
uses: wayofdev/gh-actions/.github/workflows/shellcheck.yml@v3.1.1
16+
uses: wayofdev/gh-actions/.github/workflows/shellcheck.yml@v3.2.0
1717
with:
1818
os: ubuntu-latest
1919
severity: warning

0 commit comments

Comments
 (0)