Skip to content

Commit

Permalink
Merge branch 'v0.29' into edge
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Crawfis <[email protected]>
  • Loading branch information
AaronCrawfis committed Jan 31, 2024
2 parents 555acf4 + acc09ea commit 2e0502a
Show file tree
Hide file tree
Showing 6 changed files with 4,013 additions and 981 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/issues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,6 @@ on:
types: [opened, edited, deleted, closed, reopened, labeled, unlabeled, assigned]

jobs:
customer:
name: Add a label if Issue created by customer
if: github.event.action == 'opened'
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GH_RAD_CI_BOT_PAT }}
steps:
- name: Add label if author in preview team
env:
ISSUE: ${{ github.event.issue.html_url }}
AUTHOR: ${{ github.actor }}
run: |
MEMBERS=$(gh api orgs/radius-project/teams/Radius-Preview/members | jq -r '.[] | .login')
ADMINS=$(gh api orgs/radius-project/teams/Radius-Admin/members | jq -r '.[] | .login')
for USER in $MEMBERS; do
if [[ "$USER" == "$AUTHOR" ]]; then
ISADMIN=false
for ADMIN in $ADMINS; do
if [[ "$USER" == "$ADMIN" ]]; then
echo "$USER is an admin, skipping"
ISADMIN=true
fi
done
if [[ "$ISADMIN" == "false" ]]; then
echo "Adding label for issue $ISSUE"
gh issue edit $ISSUE --add-label "customer-issue"
fi
fi
done
ado:
name: Sync issue to Azure DevOps
runs-on: ubuntu-latest
Expand Down
12 changes: 6 additions & 6 deletions samples/demo/client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2e0502a

Please sign in to comment.