Skip to content

Commit f20280d

Browse files
docs(markdown): include and update examples (#9)
* docs(markdown): include and update examples * chore(meta): update code owners Co-authored-by: matfax <[email protected]>
1 parent 9faefd9 commit f20280d

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

.github/CODEOWNERS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.github/workflows [email protected]
2+
.gitignore [email protected]
3+
4+
action.yml [email protected]
5+
entrypoint.sh [email protected]

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ name: codeowners
4545

4646
on:
4747
pull_request_target:
48-
branches:
48+
branches:
4949
- master
50-
types:
50+
types:
5151
- ready_for_review
5252
- review_request_removed
5353
- reopened
@@ -60,8 +60,13 @@ jobs:
6060
- name: checkout code
6161
uses: actions/[email protected]
6262
with:
63+
# this only makes sure that forks are built as well
6364
repository: ${{ github.event.pull_request.head.repo.full_name }}
6465
ref: ${{ github.head_ref }}
66+
# the fetch depth 0 (=all) is important
67+
fetch-depth: 0
68+
# the token is necessary for checks to rerun after auto commit
69+
token: ${{ secrets.PAT }}
6570
- name: update code owners
6671
uses: gofunky/update-codeowners@master
6772
with:
@@ -71,13 +76,11 @@ jobs:
7176
uses: stefanzweifel/[email protected]
7277
with:
7378
commit_message: 'chore(meta): update code owners'
74-
branch: ${{ github.head_ref }}
75-
file_pattern: '.github/CODEOWNERS'
79+
file_pattern: .github/CODEOWNERS
7680
- uses: christianvuerings/[email protected]
7781
if: ${{ steps.committed.outputs.changes_detected == 'true' }}
7882
with:
79-
labels: |
80-
owned
83+
labels: owned
8184
env:
8285
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8386

0 commit comments

Comments
 (0)