-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a workflow to update
features/verify-rust-std
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Copyright Kani Contributors | ||
# SPDX-License-Identifier: Apache-2.0 OR MIT | ||
# | ||
# This workflow will try to update the verify std branch. | ||
|
||
name: Update "features/verify-rust-std" | ||
on: | ||
schedule: | ||
- cron: "30 3 * * *" # Run this every day at 03:30 UTC | ||
workflow_dispatch: # Allow manual dispatching. | ||
|
||
env: | ||
RUST_BACKTRACE: 1 | ||
|
||
jobs: | ||
# First ensure the HEAD is compatible with the `verify-rust-std` repository. | ||
verify-std: | ||
name: Verify Std | ||
permissions: { } | ||
uses: ./.github/workflows/verify-std-check.yml | ||
|
||
# Push changes to the features branch. | ||
update-branch: | ||
needs: verify-std | ||
permissions: | ||
contents: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Kani | ||
uses: actions/checkout@v4 | ||
|
||
- name: Update feature branch | ||
run: | | ||
git push origin HEAD:features/verify-rust-std | ||