Skip to content

Commit

Permalink
Enable pull-request-target for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
whscullin committed Jan 3, 2025
1 parent c461b96 commit 9881d15
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/db-duckdb-wasm.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: "DB:DuckDB(WASM)"
name: 'DB:DuckDB(WASM)'

on: [pull_request, workflow_call]
on: [pull_request, pull_request_target, workflow_call]

jobs:
test-duckdb-wasm:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/db-duckdb.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: "DB:DuckDB"
name: 'DB:DuckDB'

on: [pull_request, workflow_call]
on: [pull_request, pull_request_target, workflow_call]

jobs:
test-duckdb:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/db-motherduck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: "DB:MotherDuck"

on:
pull_request:
pull_request_target:
workflow_call:
secrets:
MOTHERDUCK_TOKEN_10:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/db-mysql.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: "DB:MySQL"

on: [pull_request, workflow_call]
on: [pull_request, pull_request_target, workflow_call]

jobs:
# Label of the container job
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/db-postgres.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: "DB:Postgres"

on: [pull_request, workflow_call]
on: [pull_request, pull_request_target, workflow_call]

jobs:
# Label of the container job
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/db-presto.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: "DB:Presto"

on:
pull_request:
pull_request_target:
workflow_call:
secrets:
BQ_PRESTO_TRINO_KEY:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/db-snowflake.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: "DB:Snowflake"

on:
pull_request:
pull_request_target:
workflow_call:
secrets:
SNOWFLAKE_CONNECTION:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/db-trino.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: "DB:Trino"

on:
pull_request:
pull_request_target:
workflow_call:
secrets:
BQ_PRESTO_TRINO_KEY:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ name: Core

on:
pull_request:
pull_request_target:
workflow_call:
secrets:
BIGQUERY_KEY:
Expand Down

0 comments on commit 9881d15

Please sign in to comment.