Skip to content

Commit 78b8f41

Browse files
committed
ci: clean-up .github directory
1 parent 883d261 commit 78b8f41

File tree

11 files changed

+27
-44
lines changed

11 files changed

+27
-44
lines changed

.github/CODEOWNERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
2+
3+
* @lotyp

.github/ISSUE_TEMPLATE.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

.github/SECURITY.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,6 @@ Thank you for helping keep `wayofdev/php-cs-fixer-config` and its users safe. We
44

55
<br>
66

7-
## 🙋‍♂️ Supported Versions
8-
9-
Only certain versions of `wayofdev/php-cs-fixer-config` are currently being maintained with security updates. Please use or upgrade to one of these supported versions:
10-
11-
| Version | Supported |
12-
|---------|--------------------|
13-
| ^1.3 | :white_check_mark: |
14-
15-
Please ensure that you are using one of these supported versions before reporting a security issue.
16-
17-
<br>
18-
197
## 🚨 Reporting a Vulnerability
208

219
We take all security bugs in `wayofdev/php-cs-fixer-config` seriously. Please follow the instructions below to report security vulnerabilities.

.github/assets/.gitkeep

Whitespace-only changes.

.github/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
"type: documentation":
1313
- changed-files:
14-
- any-glob-to-any-file: ['assets/**/*', '.github/*', './*.md']
14+
- any-glob-to-any-file: ['.github/*', './*.md']
1515

1616
"type: maintenance":
1717
- changed-files:

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

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
on: # yamllint disable-line rule:truthy
66
pull_request:
7+
branches:
8+
- master
79

810
permissions:
911
pull-requests: write
@@ -13,15 +15,14 @@ name: 🤞 Auto merge release
1315

1416
jobs:
1517
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.GITHUB_TOKEN }}
18+
uses: wayofdev/gh-actions/.github/workflows/auto-merge-release.yml@v3.1.0
19+
with:
20+
os: ubuntu-latest
21+
pull-request-number: ${{ github.event.pull_request.number }}
22+
actor: lotyp
23+
merge-method: merge
24+
secrets:
25+
# to trigger other workflows, pass PAT token instead of GITHUB_TOKEN
26+
token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
2627

2728
...

.github/workflows/dependency-analysis.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
---
22

3-
name: 🔐 Dependency analysis
4-
53
on: # yamllint disable-line rule:truthy
64
pull_request:
75
paths:
86
- 'src/**'
97
- 'tests/**'
108
- '.php-cs-fixer.dist.php'
11-
- 'composer.json'
12-
- 'composer.lock'
9+
- 'composer.*'
1310
push:
1411
paths:
1512
- 'src/**'
1613
- 'tests/**'
1714
- '.php-cs-fixer.dist.php'
18-
- 'composer.json'
19-
- 'composer.lock'
15+
- 'composer.*'
16+
17+
name: 🔐 Dependency analysis
2018

2119
jobs:
2220
dependency-analysis:

.github/workflows/security-analysis.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
---
22

3-
name: 🔐 Security analysis
4-
53
on: # yamllint disable-line rule:truthy
64
pull_request:
5+
branches:
6+
- master
77
push:
8+
branches:
9+
- master
10+
11+
name: 🔐 Security analysis
812

913
jobs:
1014
security-analysis:

.github/workflows/shellcheck.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
on: # yamllint disable-line rule:truthy
44
pull_request:
5+
branches:
6+
- master
57

68
name: 🐞 Differential shell-check
79

assets/logo.gh-dark-mode-only.png

-9.98 KB
Binary file not shown.

0 commit comments

Comments
 (0)