[go: up one dir, main page]

Skip to content

generates a depot json from the releases of a github repo

License

Notifications You must be signed in to change notification settings

LemLib/pros-depot

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

PROS-Depot

PROS Depot is a GitHub Action that generates a depot json file from a GitHub repository's releases and places this depot in a branch on that repo (or another repo).

Example Workflow

name: Populate Depot json

on: 
  # runs when this repository's releases are modified
  release: 
  # allows for manual dispatching of the workflow
  workflow_dispatch: 

jobs:
  populate:
    runs-on: ubuntu-latest
    permissions: 
      # permits reading of releases and writing to the depot branch
      contents: write
    steps:
        # where to find gh action and what version to use
      - uses: LemLib/pros-depot@dbaa18709f8239296212a47328a221290bd31fd8
        with:
          # gives the github action the permissions specified above
          token: ${{ github.token }}
          # target repo for depots
          repo: meiszwflz/LemLib
          # where to read releases from (can be omitted if repo is also the repo from which to read releases from)
          source-repo: LemLib/LemLib
          # makes the json output human readable
          readable-json: true

About

generates a depot json from the releases of a github repo

Resources

License

Stars

Watchers

Forks

Packages

No packages published