Skip to content

Commit f8bdbb3

Browse files
authored
Merge pull request #8 from wayofdev/feat/labels
2 parents 75d523b + c68be9f commit f8bdbb3

File tree

4 files changed

+28
-31
lines changed

4 files changed

+28
-31
lines changed

.github/workflows/label.yml renamed to .github/workflows/apply-labels.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
---
2+
13
# This workflow will triage pull requests and apply a label based on the
24
# paths that are modified in the pull request.
35
#
46
# To use this workflow, you will need to set up a .github/labeler.yml
5-
# file with configuration. For more information, see:
7+
# file with configuration. For more information, see:
68
# https://github.com/actions/labeler/blob/master/README.md
79

810
on: # yamllint disable-line rule:truthy

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

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,14 @@ name: 🤞 Auto merge release
1313

1414
jobs:
1515
auto-merge:
16-
if: github.actor == 'lotyp' && startsWith(github.head_ref, 'release-please--')
17-
runs-on: ubuntu-latest
18-
steps:
19-
- name: 🤞 Auto-merge pull request
20-
uses: peter-evans/enable-pull-request-automerge@v3
21-
with:
22-
pull-request-number: ${{ github.event.pull_request.number }}
23-
merge-method: merge
24-
# to trigger other workflows, pass PAT token instead of GITHUB_TOKEN
25-
token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
16+
uses: wayofdev/gh-actions/.github/workflows/auto-merge-release.yml@master
17+
with:
18+
os: ubuntu-latest
19+
pull-request-number: ${{ github.event.pull_request.number }}
20+
actor: lotyp
21+
merge-method: merge
22+
secrets:
23+
# to trigger other workflows, pass PAT token instead of GITHUB_TOKEN
24+
token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
2625

2726
...
Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
2+
23
# This workflow was added by CodeSee. Learn more at https://codesee.io/
34
# This is v2.0 of this workflow file
45

5-
on: # yamllint disable-line rule:truthy
6+
on: # yamllint disable-line rule:truthy
67
push:
78
branches:
89
- develop
@@ -18,10 +19,11 @@ permissions: read-all
1819

1920
jobs:
2021
codesee:
21-
runs-on: ubuntu-latest
22-
continue-on-error: true
23-
steps:
24-
- name: 💻 Analyze the repo with CodeSee
25-
uses: Codesee-io/codesee-action@v2
26-
with:
27-
codesee-token: ${{ secrets.CODESEE_ARCH_DIAG_API_TOKEN }}
22+
uses: wayofdev/gh-actions/.github/workflows/create-arch-diagram.yml@master
23+
with:
24+
os: ubuntu-latest
25+
continue-on-error: true
26+
secrets:
27+
codesee-token: ${{ secrets.CODESEE_ARCH_DIAG_API_TOKEN }}
28+
29+
...

.github/workflows/shellcheck.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,11 @@ permissions:
1010

1111
jobs:
1212
shellcheck:
13-
runs-on: ubuntu-latest
14-
steps:
15-
- name: 📦 Check out the codebase
16-
uses: actions/checkout@v3
17-
with:
18-
fetch-depth: 0
19-
20-
- name: 🐞 Differential shell-check
21-
uses: redhat-plumbers-in-action/differential-shellcheck@v4
22-
with:
23-
severity: warning
24-
token: ${{ secrets.GITHUB_TOKEN }}
13+
uses: wayofdev/gh-actions/.github/workflows/shellcheck.yml@master
14+
with:
15+
os: ubuntu-latest
16+
severity: warning
17+
secrets:
18+
token: ${{ secrets.GITHUB_TOKEN }}
2519

2620
...

0 commit comments

Comments
 (0)