Skip to content

Commit

Permalink
test: use github token with gh cli
Browse files Browse the repository at this point in the history
  • Loading branch information
samhwang authored Mar 22, 2024
1 parent 92541ca commit f234e4c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-ozbargain-referrals-list.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,17 @@ jobs:
TOKEN: blank
DATABASE_URL: blank

- name: print out file
run: cat src/commands/referrals/generated/ozbargain-services.json

- name: Setup Git Credentials
run: |
git config --global user.email "[email protected]"
git config --global user.name "Vietausit Admin (Github Actions)"
- name: Compare changes and create PR if succeed
env:
GH_TOKEN: ${{ github.token }}
run: |
if [[ `git status --porcelain` ]]; then
git commit -am "chore: update ozbargain referrals list"
Expand Down

0 comments on commit f234e4c

Please sign in to comment.