diff options
author | Luna <imlvnaa@gmail.com> | 2023-06-09 19:48:18 +0000 |
---|---|---|
committer | Ven <ven@noreply.codeberg.org> | 2023-06-09 19:48:18 +0000 |
commit | dbad10984a99b6eb9234ec71f2891a136b6a572b (patch) | |
tree | 8141aad45299c68583b6c679f6a21258802fdcfb /.github/workflows | |
parent | 55543d8640562fdcd673c7e73e0498d02cd4e328 (diff) | |
download | Vencord-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')
-rw-r--r-- | .github/workflows/build.yml | 2 | ||||
-rw-r--r-- | .github/workflows/codeberg-mirror.yml | 1 | ||||
-rw-r--r-- | .github/workflows/publish.yml | 1 | ||||
-rw-r--r-- | .github/workflows/reportBrokenPlugins.yml | 1 |
4 files changed, 5 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 diff --git a/.github/workflows/codeberg-mirror.yml b/.github/workflows/codeberg-mirror.yml index 3ccca7f..ac2956b 100644 --- a/.github/workflows/codeberg-mirror.yml +++ b/.github/workflows/codeberg-mirror.yml @@ -7,6 +7,7 @@ on: jobs: codeberg: + if: github.repository == 'Vendicated/Vencord' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0d0e7e4..9d56e9a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -6,6 +6,7 @@ on: jobs: Publish: + if: github.repository == 'Vendicated/Vencord' runs-on: ubuntu-latest steps: diff --git a/.github/workflows/reportBrokenPlugins.yml b/.github/workflows/reportBrokenPlugins.yml index 58c4bce..8bc9361 100644 --- a/.github/workflows/reportBrokenPlugins.yml +++ b/.github/workflows/reportBrokenPlugins.yml @@ -7,6 +7,7 @@ on: jobs: TestPlugins: + if: github.repository == 'Vendicated/Vencord' runs-on: ubuntu-latest steps: |