Skip to content

Commit

Permalink
ACTIONS: Fix action
Browse files Browse the repository at this point in the history
  • Loading branch information
Cian911 committed Jan 14, 2022
1 parent 61aef2e commit 0de9ffe
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/hb-clone-count.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
fetch-depth: 0
- name: Parse clone count using REST API
run: |
curl --user "Cian911:${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}" \
Expand All @@ -20,11 +23,12 @@ jobs:
- name: Add to git repo
run: |
git add .
git config --global user.name "GitHub Action"
git config --global user.email "action@github.com"
git commit -m "BOT: Update count.json"
git config --local user.name "GitHub Action"
git config --local user.email "action@github.com"
git commit -m "BOT: Update count.json" -a
- name: Push
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}{
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: master

0 comments on commit 0de9ffe

Please sign in to comment.