aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorLuna <imlvnaa@gmail.com>2023-06-09 19:48:18 +0000
committerVen <ven@noreply.codeberg.org>2023-06-09 19:48:18 +0000
commitdbad10984a99b6eb9234ec71f2891a136b6a572b (patch)
tree8141aad45299c68583b6c679f6a21258802fdcfb /.github/workflows/build.yml
parent55543d8640562fdcd673c7e73e0498d02cd4e328 (diff)
downloadVencord-dbad10984a99b6eb9234ec71f2891a136b6a572b.tar.gz
Vencord-dbad10984a99b6eb9234ec71f2891a136b6a572b.tar.bz2
Vencord-dbad10984a99b6eb9234ec71f2891a136b6a572b.zip
[skip ci] Don't run ci on forks; Fix interaction nicks in SMYN (#4)
The following actions are disabled unless run on the main repo: codeberg, publish, build/upload, reportBrokenPlugins Reviewed-on: https://codeberg.org/Ven/cord/pulls/4 Co-authored-by: Luna <imlvnaa@gmail.com> Co-committed-by: Luna <imlvnaa@gmail.com>
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index cc27604..3815d0d 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -50,6 +50,7 @@ jobs:
echo "release_tag=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- name: Upload DevBuild as release
+ if: github.repository == 'Vendicated/Vencord'
run: |
gh release upload devbuild --clobber dist/*
gh release edit devbuild --title "DevBuild $RELEASE_TAG"
@@ -58,6 +59,7 @@ jobs:
RELEASE_TAG: ${{ env.release_tag }}
- name: Upload DevBuild to builds repo
+ if: github.repository == 'Vendicated/Vencord'
run: |
git config --global user.name "$USERNAME"
git config --global user.email actions@github.com