-
-
Notifications
You must be signed in to change notification settings - Fork 8
40 lines (32 loc) · 946 Bytes
/
weekly.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Weekly Updates
permissions:
contents: write
on:
schedule:
- cron: "0 0 * * 6"
workflow_dispatch:
jobs:
run-ci:
uses: ./.github/workflows/ci.yaml
get-current-date:
runs-on: ubuntu-latest
steps:
- id: get-date
run: echo "date=$(date +'%Y-%m-%d')" >> "$GITHUB_OUTPUT"
outputs:
date: ${{ steps.get-date.outputs.date }}
run-add-notice:
needs: [get-current-date, run-ci]
uses: ./.github/workflows/add_notice.yaml
with:
commit_message: ${{ needs.get-current-date.outputs.date }}
run-cargo-update:
needs: [get-current-date, run-add-notice]
uses: ./.github/workflows/cargo_update.yaml
with:
commit_message: ${{ needs.get-current-date.outputs.date }}
run-cargo-attribution:
needs: [get-current-date, run-cargo-update]
uses: ./.github/workflows/cargo_attribution.yaml
with:
commit_message: ${{ needs.get-current-date.outputs.date }}