File tree 1 file changed +33
-0
lines changed
1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Retract paper
2
+ on :
3
+ workflow_dispatch :
4
+ inputs :
5
+ issue_id :
6
+ description : ' The issue number of the retracted paper review'
7
+ required : true
8
+ retraction_notice_url :
9
+ description : ' URL for the markdown file of the retraction notice'
10
+ required : true
11
+ mode :
12
+ description : Set the compiled retraction notice as a draft or as a final published paper. Posible values are 'draft' or 'final'.
13
+ required : false
14
+ default : draft
15
+ jobs :
16
+ retraction-notice :
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ - name : Generate retraction notice
20
+ id : generate-retraction
21
+ uses : xuanxu/retraction-action@main
22
+ with :
23
+ retraction_notice_url : ${{ github.event.inputs.retraction_notice_url }}
24
+ issue_id : ${{ github.event.inputs.issue_id }}
25
+ journal : joss
26
+ papers_repo : openjournals/joss-papers
27
+ papers_repo_main_branch : master
28
+ branch_prefix : joss
29
+ github_bot_token : ${{ secrets.BOT_TOKEN }}
30
+ journal_secret : ${{ secrets.JOSS_SECRET }}
31
+ crossref_username : ${{ secrets.CROSSREF_USERNAME }}
32
+ crossref_password : ${{ secrets.CROSSREF_PASSWORD }}
33
+ mode : ${{ github.event.inputs.mode }}
You can’t perform that action at this time.
0 commit comments