Skip to content

<<Not a course>> Action step: Update the course repository when the learner completes a step.

License

Notifications You must be signed in to change notification settings

skills/action-update-step

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

<<Not a course>> Action step: Update the course repository when the learner completes a step.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks