-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (26 loc) · 831 Bytes
/
Copy pathTagBot.yml
File metadata and controls
29 lines (26 loc) · 831 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
name: TagBot
# Creates the git tag + GitHub release automatically once a new version is
# merged into the General registry. Triggered by the Registrator comment, with
# an hourly fallback dispatch.
on:
issue_comment:
types: [created]
workflow_dispatch:
inputs:
lookback:
default: '3'
schedule:
- cron: '0 * * * *'
permissions:
contents: write
actions: read
jobs:
TagBot:
# Only run on the Registrator trigger comment (or manual/scheduled dispatch),
# never on arbitrary user comments.
if: github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' || github.actor == 'JuliaTagBot'
runs-on: ubuntu-latest
steps:
- uses: JuliaRegistries/TagBot@cded32665b34ca0496d3ac10a67d08ddfc726963 # v1
with:
token: ${{ secrets.GITHUB_TOKEN }}