Action step: Update the course repository when the learner completes a step.
This is not a course. Visit https://github.com/skills to view our courses.
name: Step 0, Welcome
on: push
permissions:
contents: write
jobs:
on_start:
name: On start
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # Let's get all the branches.
- name: Update to step 1
uses: skills/action-update-step@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
from_step: 0
to_step: 1
branch_name: my-first-branch
base_branch_name: my-base-branch # Optional
© 2024 GitHub • Code of Conduct • MIT License