Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

a GitHub action to rerender conda-forge feedstocks

License

Notifications You must be signed in to change notification settings

conda-forge/webservices-dispatch-action

Repository files navigation

This image build and GitHub Actions integration has been moved to conda-forge-webservices. Please direct any PRs and issues there! :)

webservices-dispatch-action

tests pre-commit.ci status container relock

a GitHub action to run webservices tasks conda-forge feedstocks

Usage

To use this action, add the following YAML file at .github/workflows/webservices.yml

on: repository_dispatch

jobs:
  webservices:
    runs-on: ubuntu-latest
    name: webservices
    steps:
      - name: webservices
        id: webservices
        uses: conda-forge/webservices-dispatch-action@main
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          rerendering_github_token: ${{ secrets.RERENDERING_GITHUB_TOKEN }}

The admin web service will create the appropriate dispatch event with the correct data.

For example, a rerender uses:

{"event_type": "rerender", "client_payload": {"pr": 12}}