-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(markdown): include and update examples (#9)
* docs(markdown): include and update examples * chore(meta): update code owners Co-authored-by: matfax <[email protected]>
- Loading branch information
1 parent
9faefd9
commit f20280d
Showing
2 changed files
with
14 additions
and
6 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.github/workflows [email protected] | ||
.gitignore [email protected] | ||
README.md [email protected] | ||
action.yml [email protected] | ||
entrypoint.sh [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,9 +45,9 @@ name: codeowners | |
|
||
on: | ||
pull_request_target: | ||
branches: | ||
branches: | ||
- master | ||
types: | ||
types: | ||
- ready_for_review | ||
- review_request_removed | ||
- reopened | ||
|
@@ -60,8 +60,13 @@ jobs: | |
- name: checkout code | ||
uses: actions/[email protected] | ||
with: | ||
# this only makes sure that forks are built as well | ||
repository: ${{ github.event.pull_request.head.repo.full_name }} | ||
ref: ${{ github.head_ref }} | ||
# the fetch depth 0 (=all) is important | ||
fetch-depth: 0 | ||
# the token is necessary for checks to rerun after auto commit | ||
token: ${{ secrets.PAT }} | ||
- name: update code owners | ||
uses: gofunky/update-codeowners@master | ||
with: | ||
|
@@ -71,13 +76,11 @@ jobs: | |
uses: stefanzweifel/[email protected] | ||
with: | ||
commit_message: 'chore(meta): update code owners' | ||
branch: ${{ github.head_ref }} | ||
file_pattern: '.github/CODEOWNERS' | ||
file_pattern: .github/CODEOWNERS | ||
- uses: christianvuerings/[email protected] | ||
if: ${{ steps.committed.outputs.changes_detected == 'true' }} | ||
with: | ||
labels: | | ||
owned | ||
labels: owned | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|