Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 910 Bytes

README.md

File metadata and controls

33 lines (28 loc) · 910 Bytes

Action: Update Step

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.

Example use

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 ConductMIT License