Merge pull request #1706 from lnis-uofu/xt_ci

bring back reg tests on master branch and version updater is now triggered automatically on any changes to master branch
This commit is contained in:
tangxifan 2024-06-11 16:46:40 -07:00 committed by GitHub
commit 62342fc05c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 16 additions and 4 deletions

View File

@ -1,9 +1,12 @@
name: Test name: Test
# Run CI on push, PR, and weekly. # Run CI on push, PR, and weekly.
on: on:
workflow_dispatch:
pull_request: pull_request:
push:
branches:
- 'master'
schedule: schedule:
- cron: "0 0 * * 0 " # weekly - cron: "0 0 * * 0 " # weekly

View File

@ -1,9 +1,12 @@
name: Cell Library Tests name: Cell Library Tests
# Run CI on push, PR, and weekly. # Run CI on push, PR, and weekly.
on: on:
workflow_dispatch:
pull_request: pull_request:
push:
branches:
- 'master'
schedule: schedule:
- cron: "0 0 * * 0 " # weekly - cron: "0 0 * * 0 " # weekly

View File

@ -3,7 +3,11 @@ name: Code Format
# Run CI on push, PR, and weekly. # Run CI on push, PR, and weekly.
on: on:
workflow_dispatch:
pull_request: pull_request:
push:
branches:
- 'master'
schedule: schedule:
- cron: "0 0 * * 0 " # weekly - cron: "0 0 * * 0 " # weekly

View File

@ -1,8 +1,9 @@
name: Count Patches name: Count Patches
on: on:
workflow_dispatch: workflow_dispatch:
schedule: push:
- cron: '0 0 * * *' branches:
- 'master'
env: env:
TAG_COMMIT: 8ee3fb8.. TAG_COMMIT: 8ee3fb8..
@ -41,6 +42,7 @@ jobs:
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{env.BRANCH_NAME}} branch: ${{env.BRANCH_NAME}}
force: true
- name: Create Auto PR - name: Create Auto PR
if: "!contains(steps.log.outputs.message, 'Updated Patch Count') && contains(steps.repo.outputs.message, 'lnis-uofu/OpenFPGA')" if: "!contains(steps.log.outputs.message, 'Updated Patch Count') && contains(steps.repo.outputs.message, 'lnis-uofu/OpenFPGA')"