Skip to content

Commit

Permalink
Update 0-welcome.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
GrOkkio authored Apr 29, 2024
1 parent 05219fc commit 7d15580
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/0-welcome.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
name: Post welcome comment
name: Step 0, Welcome

# This step triggers after the learner creates a new repository from the template.
# This workflow updates from step 0 to step 1.

# This will run every time we create push a commit to `main`.
# Reference: https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows
on:
pull_request:
types: [opened]
workflow_dispatch:
push:
branches:
- main

# Reference: https://docs.github.com/en/actions/security-guides/automatic-token-authentication
permissions:
pull-requests: write
#ciao
# Need `contents: read` to checkout the repository.
# Need `contents: write` to update the step metadata.
contents: write

jobs:
# Get the current step to only run the main job when the learner is on the same step.
get_current_step:
Expand Down

0 comments on commit 7d15580

Please sign in to comment.