Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Commit 374bfd5

Browse files
authored
Fix CI/CD permissions
1 parent e3c5eff commit 374bfd5

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/latex.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,19 @@ on:
99
jobs:
1010
compile:
1111
runs-on: ubuntu-latest
12-
12+
permissions: write-all
13+
1314
steps:
14-
- uses: actions/checkout@v2
15+
- name: Fetch
16+
uses: actions/checkout@v2
1517
with:
1618
fetch-depth: 0
17-
- name: compile
19+
- name: Compile
1820
uses: dante-ev/latex-action@latest
1921
with:
2022
root_file: thesis.tex
2123
args: -lualatex -shell-escape -latexoption=-file-line-error -latexoption=-interaction=nonstopmode
22-
- name: Determine version number
24+
- name: Versioning
2325
uses: anothrNick/github-tag-action@master
2426
id: version
2527
env:
@@ -28,7 +30,7 @@ jobs:
2830
RELEASE_BRANCHES: main
2931
DEFAULT_BUMP: ${{ github.ref == 'refs/heads/main' && 'minor' || 'patch' }}
3032
DRY_RUN: true # We want to manually create the release.
31-
- name: Release and tag
33+
- name: Release
3234
uses: "marvinpinto/action-automatic-releases@latest"
3335
with:
3436
repo_token: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)