Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 956 Bytes

update.md

File metadata and controls

36 lines (24 loc) · 956 Bytes

Commands

See the wolfictl update_command reference

Diagram

sequence_diagram.png

Usage

It is expected that this CLI will be used from within a GitHub Action and interacts with the GitHub API.

This will require contents: read and pull-requests: write permissions. For example:

on: [ pull_request_target ]

permissions:
  contents: read
  pull-requests: write

jobs:
  triage:
    runs-on: ubuntu-latest
    steps:
      - uses: ...
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

When running outside of GitHub Actions you will need to create a personal access token with Read and Write access to code and pull requests for your target git repository that contains your melange package configs.

GITHUB_TOKEN={personal access token}