Replace default voice wildcard with player permissions
This commit is contained in:
parent
22ec139d4a
commit
dc8a2bd290
1 changed files with 196 additions and 0 deletions
33
.forgejo/workflows/default-voice-permissions.yml
Normal file
33
.forgejo/workflows/default-voice-permissions.yml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
name: Default Voice Permissions Operations Build
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: ['ops/default-player-voice-permissions-*']
|
||||
|
||||
jobs:
|
||||
default-voice-permissions:
|
||||
runs-on: dune-ci
|
||||
steps:
|
||||
- name: Check out exact revision
|
||||
shell: bash
|
||||
env:
|
||||
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
git init .
|
||||
git -c http.extraheader="AUTHORIZATION: basic $(printf 'x-access-token:%s' "$REPO_TOKEN" | base64 -w0)" fetch --depth=1 https://www.dunerealms.com/git/unimatrix/plugins.git "$GITHUB_SHA"
|
||||
git checkout --detach FETCH_HEAD
|
||||
- name: Validate and package the scoped LuckPerms operation
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
python3 tools/test_default_voice_permissions.py -v
|
||||
mkdir default-voice-artifacts
|
||||
cp tools/{set-default-voice-permissions,allow-giedi-nether-pearl}.py default-voice-artifacts/
|
||||
printf '%s\n' "$(git rev-parse HEAD)" > default-voice-artifacts/SOURCE_COMMIT
|
||||
(cd default-voice-artifacts && sha256sum -- *.py SOURCE_COMMIT > SHA256SUMS)
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: DuneRealms-Default-Voice-Permissions
|
||||
path: default-voice-artifacts/
|
||||
if-no-files-found: error
|
||||
Loading…
Reference in a new issue

Staff