-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
35 lines (35 loc) · 1.05 KB
/
action.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
34
35
name: Citation file info
description: Post the preferred citation file code
inputs:
citation_file_path:
description: The path to the citation.cff file
required: true
reviews_repo:
description: The repository containing the review issue for the paper
required: true
issue_id:
description: The issue number of the submission (to post a link to the tweet)
required: true
gh_token:
description: The github token to use for replying to the review issue
required: true
runs:
using: "composite"
steps:
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.4
working-directory: ${{ github.action_path }}
- name: Comment with the citation file code
shell: bash
env:
CITATION_FILE_PATH: ${{ inputs.citation_file_path }}
ISSUE_ID: ${{ inputs.issue_id }}
GITHUB_TOKEN: ${{ inputs.gh_token }}
GH_REPO: ${{ inputs.reviews_repo }}
run: |
ruby ${{ github.action_path }}/citation_info.rb
branding:
icon: message-circle
color: blue