-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (33 loc) · 1.2 KB
/
retract-paper.yml
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
30
31
32
33
name: Retract paper
on:
workflow_dispatch:
inputs:
issue_id:
description: 'The issue number of the retracted paper review'
required: true
retraction_notice_url:
description: 'URL for the markdown file of the retraction notice'
required: true
mode:
description: Set the compiled retraction notice as a draft or as a final published paper. Posible values are 'draft' or 'final'.
required: false
default: draft
jobs:
retraction-notice:
runs-on: ubuntu-latest
steps:
- name: Generate retraction notice
id: generate-retraction
uses: xuanxu/retraction-action@main
with:
retraction_notice_url: ${{ github.event.inputs.retraction_notice_url }}
issue_id: ${{ github.event.inputs.issue_id }}
journal: joss
papers_repo: aliadalabs/papers-test
papers_repo_main_branch: main
branch_prefix: test_journal
github_bot_token: ${{ secrets.PDF_BOT_TOKEN }}
crossref_username: ${{ secrets.CROSSREF_USERNAME }}
crossref_password: ${{ secrets.CROSSREF_PASSWORD }}
crossref_mode: test
mode: ${{ github.event.inputs.mode }}