Skip to content
upload

GitHub Action

Manage Alpa Package

v1.1 Latest version

Manage Alpa Package

upload

Manage Alpa Package

React on requests to create/delete package to/from Alpa repository

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Manage Alpa Package

uses: alpa-team/[email protected]

Learn more about this action in alpa-team/manage-package

Choose a version

Manage requests coming to your Alpa repo

This action manages issue requests coming from alpa-cli like request for deleting or creating package.

Who is this action for

For anybody who want their own instance of Alpa repository.

Workflow yaml example

name: Autoupdate Alpa repository

on:
  issues:
    types: [opened]

jobs:
  manage:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout repo
        uses: actions/checkout@v3
        with:
          fetch-depth: 0

      - name: React to new issue
        uses: alpa-team/manage-package@<tag_name>
        with:
          copr-login: ${{ secrets.COPR_LOGIN }}
          copr-token: ${{ secrets.COPR_TOKEN }}
          gh-api-token: ${{ secrets.GH_API_TOKEN }}
          debug: true

Options

copr-login

required

Warning! Use GitHub secret instead of copy-pasting it to visible code directly!

login part from https://copr.fedorainfracloud.org/api/

copr-token

required

Warning! Use GitHub secret instead of copy-pasting it to visible code directly!

token part from https://copr.fedorainfracloud.org/api/

gh-api-token

required

Warning! Use GitHub secret instead of copy-pasting it to visible code directly!

GH API token with read/write permissions

debug

not required

Set to true if you want to see debug logs. Otherwise set to false.