-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
684 changed files
with
37,691 additions
and
2,294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
"dbt: daily": | ||
- changed-files: | ||
- any-glob-to-any-file: 'dbt_subprojects/daily_spellbook/**' | ||
|
||
"dbt: dex": | ||
- changed-files: | ||
- any-glob-to-any-file: 'dbt_subprojects/dex/**' | ||
|
||
"dbt: hourly": | ||
- changed-files: | ||
- any-glob-to-any-file: 'dbt_subprojects/hourly_spellbook/**' | ||
|
||
"dbt: nft": | ||
- changed-files: | ||
- any-glob-to-any-file: 'dbt_subprojects/nft/**' | ||
|
||
"dbt: solana": | ||
- changed-files: | ||
- any-glob-to-any-file: 'dbt_subprojects/solana/**' | ||
|
||
"dbt: tokens": | ||
- changed-files: | ||
- any-glob-to-any-file: 'dbt_subprojects/tokens/**' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: PR automation | ||
|
||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- ready_for_review | ||
- converted_to_draft | ||
- synchronize | ||
- labeled | ||
|
||
permissions: | ||
pull-requests: write | ||
contents: write | ||
|
||
jobs: | ||
pr-automation: | ||
runs-on: ubuntu-latest | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GH_REPO: ${{ github.repository }} | ||
NUMBER: ${{ github.event.number }} | ||
steps: | ||
- name: Mark new PR as Draft | ||
if: (github.event.action == 'opened' && github.event.pull_request.draft == false) | ||
run: gh pr ready "$NUMBER" --undo | ||
|
||
- name: Set labels on Open | ||
if: github.event.action == 'opened' | ||
run: gh pr edit "$NUMBER" --add-label "WIP" | ||
|
||
- name: Set labels on Draft | ||
if: github.event.action == 'converted_to_draft' | ||
run: gh pr edit "$NUMBER" --add-label "WIP" --remove-label "ready-for-review" | ||
|
||
- name: Set labels on ready-for-review | ||
if: github.event.action == 'ready_for_review' | ||
run: gh pr edit "$NUMBER" --add-label "ready-for-review" --remove-label "WIP" | ||
|
||
- name: Add subproject labels | ||
if: contains('synchronize,opened,reopened', github.event.action) | ||
uses: actions/labeler@v5 | ||
with: | ||
sync-labels: true | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.