File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ # This is a basic workflow to help you get started with Actions
2+
3+ name : Test 1 workflow
4+
5+ # Controls when the workflow will run
6+ on :
7+ workflow_dispatch :
8+ inputs :
9+ issueNumber :
10+ description : ' The issue number to add a comment to'
11+ required : true
12+ commentText :
13+ description : ' The text of the comment to add'
14+ required : true
15+
16+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
17+ jobs :
18+ # This workflow contains a single job called "build"
19+ build :
20+ # The type of runner that the job will run on
21+ runs-on : ubuntu-latest
22+
23+ # Steps represent a sequence of tasks that will be executed as part of the job
24+ steps :
25+ - name : Get GitHub app token
26+ uses : tibdex/github-app-token@v1.3.0
27+ id : generate_token
28+ with :
29+ app_id : ${{ secrets.GMODNET_GITHUB_BOT_ID }}
30+ private_key : ${{ secrets.GMODNET_GITHUB_BOT_KEY }}
31+
32+ - name : Add comment
33+ env :
34+ GITHUB_TOKEN : ${{ steps.generate_token.outputs.token }}
35+ run : gh issue comment ${{ github.event.inputs.issueNumber }} --body "${{ github.event.inputs.commentText }}"
You can’t perform that action at this time.
0 commit comments