-
Notifications
You must be signed in to change notification settings - Fork 510
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add PRs and Issues automatically to the Python SDK gh project (and la…
…bel with potel, if pr wants to merge into potel-base
- Loading branch information
1 parent
e28437d
commit 3a66112
Showing
1 changed file
with
27 additions
and
0 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,27 @@ | ||
name: "Automation: Update GH Project" | ||
|
||
on: | ||
pull_request: | ||
types: [opened, reopened] | ||
issues: | ||
types: [opened, reopened] | ||
|
||
jobs: | ||
add-to-project: | ||
name: Add item to "Python SDK" project | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
project-url: https://github.com/orgs/getsentry/projects/235 | ||
github-token: ${{ secrets.GH_PROJECT_AUTOMATION }} | ||
|
||
add-label: | ||
name: Add POTel label if needed | ||
runs-on: ubuntu-latest | ||
if: github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'potel-base' | ||
steps: | ||
- uses: actions-ecosystem/action-add-labels@v1 | ||
with: | ||
labels: "Project: POTel" | ||
github_token: ${{ secrets.GITHUB_TOKEN }} |