mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-08-05 00:05:57 +08:00
70a6efb8fc
* ci: update GitHub Actions to latest versions Bump all workflow actions to their latest releases, including major updates for checkout (v7), upload-artifact (v7), github-script (v9), action-download-artifact (v21), and thollander comment action (v3). * ci: pin third-party actions to commit SHAs Keep official GitHub actions on version tags, but pin community actions to immutable commit hashes for supply-chain safety.
32 lines
872 B
YAML
32 lines
872 B
YAML
name: release
|
|
on:
|
|
schedule:
|
|
- cron: '0 9 * * *'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build_masterci:
|
|
name: build master-ci
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'commaai/openpilot'
|
|
permissions:
|
|
checks: read
|
|
contents: write
|
|
steps:
|
|
- name: Wait for green check mark
|
|
if: ${{ github.event_name == 'schedule' }}
|
|
uses: lewagon/wait-on-check-action@1d57e2c51a58d812d2765e036a028b6bdb5a6154
|
|
with:
|
|
ref: master
|
|
wait-interval: 30
|
|
running-workflow-name: 'build master-ci'
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
check-regexp: ^((?!.*(build prebuilt|create badges).*).)*$
|
|
- uses: actions/checkout@v7
|
|
with:
|
|
submodules: true
|
|
fetch-depth: 0
|
|
- run: ./tools/op.sh setup
|
|
- name: Push master-ci
|
|
run: BRANCH=__nightly tools/release/build_stripped.sh
|