Files
chromebrew/.github/workflows/Updater.yml
chromebrew-actions[bot] c9359a9590 version (#12418)
* Do not let version.rb update package files without a version variable in either the git_hashtag or source_url lines.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust update workflows to use Updater-on-Demand workflow.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
2025-08-11 17:15:44 +00:00

27 lines
900 B
YAML

---
name: Generate Updates PR
on:
schedule:
- cron: '0 0 * * *' # Daily
workflow_dispatch:
env:
GH_TOKEN: ${{ secrets.CREW_PR_TOKEN }} # setting GH_TOKEN for the entire workflow
permissions: # Global permissions configuration starts here
actions: write
contents: write
packages: write
pull-requests: write # 'write' access to pull requests
jobs:
update-check:
if: ${{ github.repository_owner == 'chromebrew' }}
runs-on: ubuntu-24.04
steps:
- name: Check for updates in pip packages.
id: pip-update-checks
run: |
gh workflow -R chromebrew/chromebrew run Updater-on-Demand.yml -f version_cmd_input="py3_*"
- name: Check for updates in ruby gem packages.
id: gem-update-checks
run: |
gh workflow -R chromebrew/chromebrew run Updater-on-Demand.yml -f version_cmd_input="ruby_*"