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 ab803d1 commit 4548529
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/0-welcome.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,9 @@
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
name: Post welcome comment
on:
workflow_dispatch:
push:
branches:
- main

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

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

0 comments on commit 4548529

Please sign in to comment.