-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (34 loc) · 988 Bytes
/
Copy pathupdate-workflows.yml
File metadata and controls
35 lines (34 loc) · 988 Bytes
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
# Auto-generated by gaji
# Do not edit manually - Edit workflows/update-workflows.ts instead
# Generated at: 2026-02-22T15:05:54Z
jobs:
build-workflows:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 1
token: ${{ secrets.PAT }}
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Build gaji
run: cargo build --release
- name: Generate Type
run: ./target/release/gaji dev
- name: Generate workflows
run: ./target/release/gaji build
- name: Commit and push
run: |-
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add .github/workflows/
git diff --cached --quiet || (git commit -m "chore: update generated workflows" && git push)
name: Update Workflows
on:
push:
branches:
- main
paths:
- workflows/**
permissions:
contents: write