Skip to content

Commit 8fd229a

Browse files
committed
ci: add reactivate workflow
1 parent 36e66c0 commit 8fd229a

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Reactivate Workflows
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 1 * *'
6+
workflow_dispatch:
7+
8+
permissions:
9+
actions: write
10+
11+
jobs:
12+
reactivate_workflow:
13+
name: Reactivate Workflow
14+
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
WORKFLOW: ['nightly.yml', 'reactivate-workflows.yml']
18+
steps:
19+
- name: Reactivate workflow
20+
env:
21+
GH_TOKEN: ${{ github.token }}
22+
GH_REPO: ${{ github.repository }}
23+
shell: bash
24+
run: gh workflow enable "${{ matrix.WORKFLOW }}"

0 commit comments

Comments
 (0)