Skip to content

Commit eb42f5e

Browse files
authored
chore: add note for setting SUPABASE_ACCESS_TOKEN (#252)
* chore: add note for setting SUPABASE_ACCESS_TOKEN * Remove paths-ignore for README.md in test workflow Removed paths-ignore for README.md on pull requests and pushes. * Simplify pull request trigger configuration Updated workflow trigger for JSON generation.
1 parent 09fbf3d commit eb42f5e

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

.github/workflows/generate-json.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
# Regenerates JSON schema whenever a PR is merged to main
22
name: Generate JSON
33

4-
on:
5-
pull_request:
6-
paths-ignore:
7-
- 'README.md'
4+
on: pull_request
85

96
# Needs write permissions to write the schema to the repo
107
permissions:

.github/workflows/test.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,9 @@ name: Tests
55
# Optionally, you can turn it on using a schedule for regular testing.
66
on:
77
pull_request:
8-
paths-ignore:
9-
- 'README.md'
108
push:
119
branches:
1210
- main
13-
paths-ignore:
14-
- 'README.md'
1511

1612
# Testing only needs permissions to read the repository contents.
1713
permissions:

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ terraform {
2727
}
2828
}
2929
30+
# Alternatively, you can set the env var for SUPABASE_ACCESS_TOKEN
3031
provider "supabase" {
3132
access_token = file("${path.module}/access-token")
3233
}

0 commit comments

Comments
 (0)