Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
kaizencc committed Jul 25, 2023
1 parent e963bb1 commit 7b46dee
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/tester.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: contributer-badge
on:
workflow_dispatch: {}
workflow_run:
workflows:
- pr-linter-trigger
pull_request_target:
types:
- opened
Expand All @@ -16,7 +19,7 @@ jobs:
id: badger
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
badges: '[first,second,third]'
badges: '[a,b,c]'
thresholds: '[0,1,2]'
badge-type: 'achievement'
ignore-usernames: '[Tianyi-W,dependabot[bot]]'
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/trigger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
on:
pull_request_review:
types:
- submitted
name: pr-linter-trigger
jobs:
dummy-workflow:
runs-on: ubuntu-latest
name: trigger
steps:
- name: Explanation
run: echo "this is a dummy workflow that triggers a workflow_run; it's necessary because otherwise the repo secrets will not be in scope for externally forked pull requests"

0 comments on commit 7b46dee

Please sign in to comment.