Merge pull request #139 from OpenAF/20250523-065730 #228
This file contains hidden or 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
name: Update counters | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
update-counters: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
steps: | |
# -------------------------- | |
- name: Cache OpenAF runtime | |
uses: actions/cache@v4 | |
with: | |
key : oaf-nightly | |
path: /tmp/oaf | |
# ------------------------- | |
- uses: actions/checkout@v4 | |
# --------------------- | |
- name: Update counters | |
uses: openaf/ojob-action@v7 | |
with: | |
dist: nightly | |
ojob: .github/ojobs/updateCounters.yaml | |
# -------------------- | |
- name: Commit changes | |
env : | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
uses: openaf/ojob-action@v7 | |
with: | |
ojob: 'ojob.io/git/hub/contentIn' | |
args: 'message="Update\ counters" paths=".github/"' | |
dist: nightly |