Skip to content

Commit fea4186

Browse files
authored
update workflows (#14)
1 parent 1a4964f commit fea4186

6 files changed

Lines changed: 34 additions & 19 deletions

File tree

.github/workflows/TagBot.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

.github/workflows/changelog.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,6 @@ jobs:
99
changelog:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: dangoslen/changelog-enforcer@v3
12+
- uses: dangoslen/changelog-enforcer@v3
13+
with:
14+
skipLabels: "skip-changelog"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI
1+
name: ci
22

33
on:
44
pull_request:

.github/workflows/docs.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: docs
22

33
on:
4-
pull_request:
54
push:
65
branches:
76
- 'master'
@@ -12,6 +11,11 @@ on:
1211

1312
jobs:
1413
build:
14+
permissions:
15+
actions: write
16+
contents: write
17+
pull-requests: read
18+
statuses: write
1519
runs-on: ${{ matrix.os }}
1620
strategy:
1721
matrix:
@@ -21,9 +25,9 @@ jobs:
2125
- uses: julia-actions/setup-julia@latest
2226
- uses: julia-actions/cache@v2
2327
- name: Install dependencies
24-
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
28+
run: julia --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
2529
- name: Build and deploy
30+
run: julia --color=yes --project=docs docs/make.jl
2631
env:
2732
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2833
DOCUMENTER_KEY: ${{secrets.DOCUMENTER_KEY}}
29-
run: julia --project=docs/ docs/make.jl

.github/workflows/formatting.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
name: Formatting
1+
name: formatting
2+
23
on:
34
push:
45
branches:
@@ -7,6 +8,7 @@ on:
78
tags:
89
- '*'
910
pull_request:
11+
1012
jobs:
1113
runic:
1214
name: Runic formatting

.github/workflows/tagbot.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: tagbot
2+
3+
on:
4+
issue_comment:
5+
types:
6+
- created
7+
workflow_dispatch:
8+
inputs:
9+
lookback:
10+
default: 10
11+
12+
jobs:
13+
tagbot:
14+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: JuliaRegistries/TagBot@v1
18+
with:
19+
token: ${{ secrets.GITHUB_TOKEN }}
20+
ssh: ${{ secrets.DOCUMENTER_KEY }}

0 commit comments

Comments
 (0)