Skip to content

Commit 2c6c7d9

Browse files
Update welcome.yml. Added comment.
1 parent ab91fbb commit 2c6c7d9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/welcome.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
//Give my workflow a name
12
name: Post welcome comment
3+
//My workflow will execute whenever someone opens a pull request in my repository
24
on:
35
pull_request:
46
types: [opened]
7+
//Assigns the workflow permissions to operate on the repository
58
permissions:
6-
pull-requests: write
9+
pull-requests: write //gives the workflow permission to write to pull requests.

0 commit comments

Comments
 (0)