mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
Change Repology workflow to create pull requests (#9926)
This commit is contained in:
committed by
GitHub
parent
e0846506ff
commit
3076ef3892
14
.github/workflows/Repology.yml
vendored
14
.github/workflows/Repology.yml
vendored
@@ -20,8 +20,12 @@ jobs:
|
||||
CREW_KERNEL_VERSION: 5.1
|
||||
run: |
|
||||
ruby -Ctools json.rb
|
||||
- name: Generate JSON
|
||||
run: |
|
||||
# The || true here means that empty commits fail, so we don't pollute the repo history.
|
||||
git commit -o tools/repology.json -m "Update Repology JSON" || true
|
||||
git push
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v6
|
||||
with:
|
||||
add-paths: "tools/repology.json"
|
||||
title: "Update Repology JSON"
|
||||
body: "Automatic PR to update tools/repology.json"
|
||||
author: "github-actions[bot]"
|
||||
commit-message: "Update Repology JSON"
|
||||
delete-branch: true
|
||||
|
||||
Reference in New Issue
Block a user