mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:31:43 +00:00
chore: update GitHub automation for IAM team (#37309)
This commit is contained in:
parent
ecd29b4503
commit
c24eb5d9fa
4
.github/teams.yml
vendored
4
.github/teams.yml
vendored
@ -5,9 +5,9 @@ team/frontend-platform:
|
||||
- '@pdubroy'
|
||||
- '@oleggromov'
|
||||
|
||||
team/iam-admin-experience:
|
||||
team/iam:
|
||||
- '@unknwon'
|
||||
- '@RafLeszczynski'
|
||||
- '@jplahn'
|
||||
- '@miveronese'
|
||||
- '@ryphil'
|
||||
- '@pietrorosa77'
|
||||
|
||||
8
.github/workflows/label-move.yml
vendored
8
.github/workflows/label-move.yml
vendored
@ -247,23 +247,23 @@ jobs:
|
||||
}
|
||||
}
|
||||
}' -f project=$PROJECT_ID -f node_id=$NODE_ID
|
||||
iam-and-admin-exp-board:
|
||||
iam-board:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
PROJECT_ID: PN_kwDOADy5QM4ABlJF # https://github.com/orgs/sourcegraph/projects/259
|
||||
GITHUB_TOKEN: ${{ secrets.GH_PROJECTS_ACTION_TOKEN }}
|
||||
steps:
|
||||
- name: Get issue if relevant
|
||||
if: ${{ contains(github.event.issue.labels.*.name, 'team/iam-admin-experience') }}
|
||||
if: ${{ contains(github.event.issue.labels.*.name, 'team/iam') }}
|
||||
env:
|
||||
NODE_ID: ${{ github.event.issue.node_id }}
|
||||
run: echo 'NODE_ID='$NODE_ID >> $GITHUB_ENV
|
||||
- name: Get pull request if relevant
|
||||
if: ${{ contains(github.event.pull_request.labels.*.name, 'team/iam-admin-experience') }}
|
||||
if: ${{ contains(github.event.pull_request.labels.*.name, 'team/iam') }}
|
||||
env:
|
||||
NODE_ID: ${{ github.event.pull_request.node_id }}
|
||||
run: echo 'NODE_ID='$NODE_ID >> $GITHUB_ENV
|
||||
- name: Add to IAM and Admin Exp board
|
||||
- name: Add to IAM team board
|
||||
if: ${{ env.NODE_ID != '' }}
|
||||
run: |
|
||||
gh api graphql --header 'GraphQL-Features: projects_next_graphql' -f query='
|
||||
|
||||
2
.github/workflows/label-notify.yml
vendored
2
.github/workflows/label-notify.yml
vendored
@ -24,4 +24,4 @@ jobs:
|
||||
team/frontend-platform=@taylorsperry @jasongornall
|
||||
team/repo-management=@jplahn
|
||||
team/devops=@sourcegraph/cloud-devops
|
||||
team/iam-admin-experience=@sourcegraph/iam-and-admin-experience
|
||||
team/iam=@sourcegraph/iam
|
||||
|
||||
4
.github/workflows/team-labeler.yml
vendored
4
.github/workflows/team-labeler.yml
vendored
@ -1,5 +1,7 @@
|
||||
name: team-label
|
||||
on: pull_request
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, reopened]
|
||||
jobs:
|
||||
team-labeler:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Loading…
Reference in New Issue
Block a user