Skip to content

Commit

Permalink
Merge pull request #104 from unasuke/fix-action
Browse files Browse the repository at this point in the history
Fix update-contributors action
  • Loading branch information
unasuke authored Nov 5, 2023
2 parents ddbf1b4 + 794ae92 commit 51ffcaf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/update-contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
- name: Update JSON
run: |
gh api -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" \
/repos/kaigionrails/conference-app/contributors > contributors.json
/repos/kaigionrails/conference-app/contributors > contributors.json
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create PR if list is updated
uses: peter-evans/create-pull-request@v5
with:
commit-message: Update contributors.json ${{$(date +'%Y-%m-%d)}}
commit-message: Update contributors.json ${{$(date +'%Y-%m-%d')}}
delete-branch: true
title: Update contributors.json ${{$(date +'%Y-%m-%d)}}
title: Update contributors.json ${{$(date +'%Y-%m-%d')}}
env:
TZ: 'Asia/Tokyo'

0 comments on commit 51ffcaf

Please sign in to comment.