forked from airbytehq/airbyte
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Cleans up label actions && fix broken action (airbytehq#17324)…
…" (airbytehq#17329) This reverts commit dd95d3a.
- Loading branch information
1 parent
1f660c9
commit ca3a0ab
Showing
6 changed files
with
31 additions
and
71 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
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...workflows/label-github-issues-by-path.yml → .github/workflows/labeler.yml
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
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 |
---|---|---|
@@ -1,34 +1,18 @@ | ||
name: Trigger action in cloud based on push | ||
name: Notify Cloud of OSS Push to Master | ||
on: | ||
push: | ||
branches: | ||
- master | ||
workflow_dispatch: | ||
|
||
jobs: | ||
find_valid_pat: | ||
name: "Find a PAT with room for actions" | ||
timeout-minutes: 10 | ||
runs-on: ubuntu-latest | ||
outputs: | ||
pat: ${{ steps.variables.outputs.pat }} | ||
steps: | ||
- name: Checkout Airbyte | ||
uses: actions/checkout@v2 | ||
- name: Check PAT rate limits | ||
id: variables | ||
run: | | ||
./tools/bin/find_non_rate_limited_PAT \ | ||
${{ secrets.OCTAVIA_4_ROOT_ACCESS }} \ | ||
${{ secrets.OCTAVIA_PAT }} | ||
repo-sync: | ||
name: "Fire a Repo Dispatch event to airbyte-cloud" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Repository Dispatch | ||
uses: peter-evans/repository-dispatch@v2 | ||
with: | ||
token: ${{ env.pat }} | ||
token: ${{ secrets.OCTAVIA_PAT }} | ||
repository: airbytehq/airbyte-cloud | ||
event-type: oss-push-to-master | ||
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}' |
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,18 @@ | ||
# Runs internal automation for pull requests | ||
|
||
name: "Add metadata and labels to PRs based on context" | ||
on: | ||
pull_request_target: | ||
types: [opened, labeled, unlabeled, ready_for_review, synchronize, reopened] | ||
|
||
jobs: | ||
shared-pulls: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: nick-fields/private-action-loader@v3 | ||
with: | ||
pal-repo-token: "${{ secrets.OCTAVIA_PAT }}" | ||
pal-repo-name: airbytehq/workflow-actions@production | ||
# the following input gets passed to the private action | ||
token: "${{ secrets.OCTAVIA_PAT }}" | ||
command: "pull" |