Skip to content

Commit

Permalink
Commit directly instead of making a PR in the scraping actions (#127)
Browse files Browse the repository at this point in the history
Commits the changes directly to the branch instead of creating a pull request first.
  • Loading branch information
ASpoonPlaysGames authored Dec 15, 2024
1 parent 17ae3bf commit c0b7c3d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/periodic-scrape-reviews.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,8 @@ jobs:
echo "changes=true" >> $GITHUB_OUTPUT
fi
- name: Create Pull Request
- name: Commit changes
if: ${{ steps.git_diff.outputs.changes == 'true' }}
uses: peter-evans/create-pull-request@v6
with:
commit-message: "Update review counts"
branch: automated/update-reviewer-counts
title: "Update review counts"
body: "Updates the lists of review counts"
run: |
git commit -am "Update review counts"
git push
11 changes: 4 additions & 7 deletions .github/workflows/periodic-scrape.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,8 @@ jobs:
echo "changes=true" >> $GITHUB_OUTPUT
fi
- name: Create Pull Request
- name: Commit changes
if: ${{ steps.git_diff.outputs.changes == 'true' }}
uses: peter-evans/create-pull-request@v6
with:
commit-message: "Update community contributors list"
branch: automated/update-community-contributes
title: "Update community contributors list"
body: "Updates the list of community contributors"
run: |
git commit -am "Update community contributors list"
git push

0 comments on commit c0b7c3d

Please sign in to comment.