mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 07:28:01 -05:00
* Update procps Signed-off-by: Satadru Pramanik <satadru@gmail.com> * disable-pidwait for i686 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add conflicts_ok Signed-off-by: Satadru Pramanik <satadru@gmail.com> * gpm: Package File Update Run on linux/386 container. * gpm: Package File Update Run on linux/amd64 container. * gpm: Package File Update Run on linux/arm/v7 container. * lint Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust workflow checkouts. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * lint Signed-off-by: Satadru Pramanik <satadru@gmail.com> * lint Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
32 lines
938 B
YAML
32 lines
938 B
YAML
---
|
|
name: autocheck
|
|
on:
|
|
schedule:
|
|
- cron: '0 0 * * *'
|
|
workflow_dispatch:
|
|
env:
|
|
GH_TOKEN: ${{ secrets.CREW_PR_TOKEN }}
|
|
permissions:
|
|
actions: write
|
|
contents: write
|
|
packages: write
|
|
pull-requests: write
|
|
repository-projects: read
|
|
jobs:
|
|
autocheck:
|
|
if: ${{ github.repository_owner == 'chromebrew' }}
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
with:
|
|
persist-credentials: true
|
|
- name: Run required checks if necessary
|
|
run: |
|
|
for pr in $(gh pr list -s open --author app/github-actions --json number | jq '.[].number')
|
|
do
|
|
# Run check workflow if it didn't already run.
|
|
gh pr checks --required $pr || (echo "Running check workflow on PR ${pr}." ; gh workflow run Unit-Test.yml $pr)
|
|
# Add reviewers to autogenerated PRs.
|
|
gh pr edit $pr --add-reviewer chromebrew/active
|
|
done
|