Skip to content

Commit dbaf0c6

Browse files
committed
add depot.yml
1 parent 9b7b558 commit dbaf0c6

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/depot.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Populate Depot json
2+
3+
on:
4+
# runs when this repository's releases are modified
5+
release:
6+
# allows for manual dispatching of the workflow
7+
workflow_dispatch:
8+
9+
jobs:
10+
populate:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
# permits reading of releases and writing to the depot branch
14+
contents: write
15+
steps:
16+
# where to find gh action and what version to use
17+
- uses: LemLib/pros-depot@v0.1.0-beta.1
18+
with:
19+
# gives the github action the permissions specified above
20+
token: ${{ github.token }}
21+
# target repo for depots
22+
repo: LemLib/fmtlib
23+
# 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)
24+
source-repo: LemLib/fmtlib
25+
# makes the json output human readable
26+
readable-json: true

0 commit comments

Comments
 (0)