Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upmerge v0.27 to v0.28 #903

Merged
merged 16 commits into from
Dec 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ jobs:
if-no-files-found: error
- name: Create GitHub issue on failure
if: failure() && github.event_name != 'pull_request' && github.event_name != 'workflow_dispatch'
run: gh issue create --title "Samples deployment failed for ${{ matrix.app }}" --body "Test failed on ${{ github.repository }}. See [workflow logs](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) for more details." --repo ${{ github.repository }}
run: gh issue create --title "Samples deployment failed for ${{ matrix.app }}" --body "Test failed on ${{ github.repository }}. See [workflow logs](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) for more details." --repo ${{ github.repository }} --label bug --label test-failure
# Cleanup
- name: Delete app
if: always() && steps.gen-id.outputs.RUN_TEST == 'true'
Expand Down
2 changes: 2 additions & 0 deletions samples/dapr/.rad/rad.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
workspace:
application: "dapr"
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