Skip to content

Commit 8af74dc

Browse files
Copilotwax911
andcommitted
fix: add missing secret key and enable swagger workflow on PRs
Co-authored-by: wax911 <7859175+wax911@users.noreply.github.com>
1 parent 9cf249a commit 8af74dc

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.env.example

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ MAL="MAL"
1818
NOTIFY="NOTIFY"
1919
GROWTH="GROWTH"
2020
SKYHOOK="SKYHOOK"
21+
THEXEM="THEXEM"
2122
TMDB="TMDB"
2223
TRAKT="TRAKT"
2324

@@ -45,4 +46,4 @@ SEGMENT_KEY=SEGMENT_KEY
4546

4647
CLIENT_REQUEST_TIMEOUT=2000
4748

48-
REDIS_URL=redis://default:admin@localhost:6379
49+
REDIS_URL=redis://default:admin@localhost:6379

.github/workflows/swagger-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ env:
66
EDGE_GRAPHQL_WORKFLOW: publish-snapshot.yml
77

88
on:
9+
pull_request:
910
push:
1011
tags:
1112
- "*"
@@ -28,6 +29,8 @@ jobs:
2829
run: |
2930
if [[ -n "${{ github.event.inputs.tag }}" ]]; then
3031
tag="${{ github.event.inputs.tag }}"
32+
elif [[ "${{ github.event_name }}" == "pull_request" ]]; then
33+
tag="${{ github.head_ref }}"
3134
elif [[ "${{ github.ref }}" =~ ^refs/tags/ ]]; then
3235
tag="${GITHUB_REF#refs/tags/}"
3336
else

0 commit comments

Comments
 (0)