Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 1.16 KB

README.md

File metadata and controls

31 lines (19 loc) · 1.16 KB

action-release-branch

Removes source files, then pushes a commit to the release branch.

Inputs

email

Required Email address to associate with the release commit.

username

Required GitHub username to associate with the release commit.

token

Optional A GitHub token with the repo scope, or with the contents: write fine-grained permission. By default, token from the github context is used, but this GitHub Actions-provided token is scoped to the repo containing your workflow. If you are releasing another repo, you must provide GITHUB_TOKEN.

release_branch

Optional Release branch name. Default: "dist".

Example usage

- name: Update release branch
  uses: smockle/action-release-branch@main
  with:
    email: ${{ secrets.EMAIL }}
    username: ${{ secrets.USERNAME }}