Skip to content

Commit 9a195df

Browse files
authored
Create manual_action_test.yml
1 parent 76add2e commit 9a195df

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# This is a basic workflow that is manually triggered
2+
3+
name: Manual workflow
4+
5+
# Controls when the action will run. Workflow runs when manually triggered using the UI
6+
# or API.
7+
on:
8+
workflow_dispatch:
9+
10+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
11+
jobs:
12+
# This workflow contains a single job called "greet"
13+
run-test:
14+
# The type of runner that the job will run on
15+
runs-on: ubuntu-latest
16+
17+
# Steps represent a sequence of tasks that will be executed as part of the job
18+
steps:
19+
- name: Generate GitHub App token
20+
id: generate_token
21+
uses: tibdex/github-app-token@v1.3.0
22+
with:
23+
app_id: ${{ secrets.GMODNET_GITHUB_BOT_ID }}
24+
private_key: ${{ secrets.GMODNET_GITHUB_BOT_KEY }}
25+
26+
- name: Invoke action
27+
uses: ./
28+
with:
29+
token: ${{ steps.generate_token.outputs.token }}
30+
worflow_id: rebase-pr-workflow.yml
31+
pr_label_name: test-pr-autorebase

0 commit comments

Comments
 (0)