rwx/update-packages-github 1.1.0

Update RWX packages for GitHub repositories

Parameters

Parameter
Required
Default
Description
repository
*
GitHub HTTPS repository URL
ref
*
The ref to check out of the git repository
github-access-token
*
The GitHub access token to a private app
allow-major-version-change
false
Allow updating across major versions
branch-prefix
rwx-update-
Branch prefix for opened pull requests
label
Label for opened pull requests
label-color
298F21
Label color if not yet created
rwx-file
Scope updates to a specific file or single glob pattern of files

README.md

Update the versions of RWX packages used in a GitHub repository. When updates are available, create or update a pull request.

The provided github-access-token should be for a private GitHub App with repository permissions for:

  • Contents: read and write
  • Pull Requests: read and write

If you would like to automatically create the label, additionally provide:

To update minor versions (recommended):

tasks:
  - key: update-rwx-packages
    call: rwx/update-packages-github 1.1.0
    with:
      repository: https://github.com/YOUR-ORG/YOUR-REPO.git
      ref: ${{ init.commit-sha }}
      github-access-token: ${{ vaults.your-vault.github-apps.your-github-app.token }}

Customize the label:

tasks:
  - key: update-rwx-packages
    call: rwx/update-packages-github 1.1.0
    with:
      repository: https://github.com/YOUR-ORG/YOUR-REPO.git
      ref: ${{ init.commit-sha }}
      github-access-token: ${{ vaults.your-vault.github-apps.your-github-app.token }}
      label: rwx-updates
      label-color: "298F21"