From dbaf0c661b0944572138bd5626f194b1a0739974 Mon Sep 17 00:00:00 2001 From: Liam Teale Date: Sun, 29 Dec 2024 17:22:13 -0800 Subject: [PATCH] add depot.yml --- .github/workflows/depot.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/depot.yml diff --git a/.github/workflows/depot.yml b/.github/workflows/depot.yml new file mode 100644 index 0000000..f4fc498 --- /dev/null +++ b/.github/workflows/depot.yml @@ -0,0 +1,26 @@ +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@v0.1.0-beta.1 + with: + # gives the github action the permissions specified above + token: ${{ github.token }} + # target repo for depots + repo: LemLib/fmtlib + # where to read releases from (can be omitted if repo is also the repo from which to read releases from, but it doesn't sem to be working at the moment) + source-repo: LemLib/fmtlib + # makes the json output human readable + readable-json: true \ No newline at end of file