Skip to content

Commit 76dec46

Browse files
committed
fill out create-tag file
1 parent 30b4932 commit 76dec46

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/create-tag.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Create Periodic Tag
2+
3+
on:
4+
schedule:
5+
# Run at 00:00 UTC on the 1st, 10th, and 20th of every month
6+
- cron: '0 0 1,10,20 * *'
7+
workflow_dispatch:
8+
9+
jobs:
10+
create-tag:
11+
runs-on: ubuntu-latest
12+
if: github.repository == 'pyodide/pyodide-build-environment-nightly'
13+
permissions:
14+
contents: write
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Create and push tag
19+
run: |
20+
TAG_NAME=$(date +'%Y%m%d')
21+
git tag $TAG_NAME
22+
git push origin $TAG_NAME
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)