Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

without explicit token? #120

Merged
merged 2 commits into from
Jan 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/latex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: ./actions/latex
with:
paper: ".github/hello-paper/main.tex"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
#GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
create-release: false

#- name: Upload build artifacts
Expand Down
10 changes: 5 additions & 5 deletions actions/latex/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ description: "Advanced LaTeX document compilation with error handling and artifa
permissions:
contents: write
pages: write
id-token: write
#id-token: read


inputs:
Expand Down Expand Up @@ -46,8 +46,8 @@ inputs:
type: boolean
required: false
default: true
GITHUB_TOKEN:
required: true
#GITHUB_TOKEN:
# required: true

runs:
using: "composite"
Expand Down Expand Up @@ -87,7 +87,7 @@ runs:
- name: Install Tectonic and dependencies
uses: wtfjoke/setup-tectonic@v3
with:
github-token: ${{ inputs.GITHUB_TOKEN }}
# github-token: ${{ inputs.GITHUB_TOKEN }}
biber-version: '2.17'
# Add additional LaTeX packages if needed
#packages: |
Expand Down Expand Up @@ -159,7 +159,7 @@ runs:
name: LaTeX Build ${{ env.TIMESTAMP }}
body_path: publish${{ inputs.output-folder }}/compilation_report.md
draft: true
token: ${{ inputs.GITHUB_TOKEN }}
#token: ${{ secrets.GITHUB_TOKEN }}

- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
Expand Down
Loading