We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f278dc commit b27d415Copy full SHA for b27d415
1 file changed
.github/workflows/issuetest.yaml
@@ -0,0 +1,20 @@
1
+name: Create Issue on Workflow Dispatch
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+jobs:
7
+ create-issue:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Create issue assigned to actor
11
+ uses: actions/github-script@v7
12
+ with:
13
+ script: |
14
+ github.rest.issues.create({
15
+ owner: context.repo.owner,
16
+ repo: context.repo.repo,
17
+ title: "Workflow triggered by ${{ github.actor }}",
18
+ body: "This issue was automatically created when the workflow was launched.",
19
+ assignees: [context.actor]
20
+ })
0 commit comments