Skip to content

Commit 29a9600

Browse files
committed
Update workflows
1 parent a67a5f7 commit 29a9600

File tree

4 files changed

+22
-6
lines changed

4 files changed

+22
-6
lines changed

.github/workflows/TagBot.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,22 @@ on:
44
types:
55
- created
66
workflow_dispatch:
7+
inputs:
8+
lookback:
9+
default: "3"
10+
permissions:
11+
actions: read
12+
checks: read
13+
contents: write
14+
deployments: read
15+
issues: read
16+
discussions: read
17+
packages: read
18+
pages: read
19+
pull-requests: read
20+
repository-projects: read
21+
security-events: read
22+
statuses: read
723
jobs:
824
TagBot:
925
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'

.github/workflows/format_check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Format check
22
on:
33
push:
4-
branches: [master]
4+
branches: [main]
55
tags: [v*]
66
pull_request:
77

@@ -10,8 +10,8 @@ jobs:
1010
name: "Format Check"
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
14-
- uses: julia-actions/setup-julia@v1
13+
- uses: actions/checkout@v4
14+
- uses: julia-actions/setup-julia@v2
1515
with:
1616
version: 1
1717
- name: Install JuliaFormatter and format

.github/workflows/format_pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
build:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
9+
- uses: actions/checkout@v4
1010
- name: Install JuliaFormatter and format
1111
run: |
1212
julia -e 'import Pkg; Pkg.add("JuliaFormatter")'
@@ -15,7 +15,7 @@ jobs:
1515
# https://github.com/peter-evans/create-pull-request#reference-example
1616
- name: Create Pull Request
1717
id: cpr
18-
uses: peter-evans/create-pull-request@v3
18+
uses: peter-evans/create-pull-request@v7
1919
with:
2020
token: ${{ secrets.GITHUB_TOKEN }}
2121
commit-message: Format .jl files

.github/workflows/format_suggestions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
format:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v4
1717
- uses: julia-actions/setup-julia@latest
1818
with:
1919
version: 1

0 commit comments

Comments
 (0)