-
Notifications
You must be signed in to change notification settings - Fork 22
feat(cd): adding dispatch workflow for cd #3765
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a new GitHub Actions workflow to trigger deployment in a separate repository. The workflow responds to pushes on vnext and master branches or manual dispatch, and uses the GitHub API to send a repository dispatch event to the igniteui-actions repository.
Key Changes:
- New workflow file that triggers on push to
vnext/masterbranches and manual workflow dispatch - Uses GitHub API to send repository dispatch events with branch information and test configuration
- Configured with read-only content permissions
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| curl -L \ | ||
| -X POST \ | ||
| -H "Accept: application/vnd.github+json" \ | ||
| -H "Authorization: Bearer ${{ secrets.FINE_PATKA }}" \ |
Copilot
AI
Oct 31, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The secret name 'FINE_PATKA' appears to be a typo. It should likely be 'FINE_PAT_KA' or 'FINE_GRAINED_PAT' based on standard naming conventions for fine-grained personal access tokens.
| -H "Authorization: Bearer ${{ secrets.FINE_PATKA }}" \ | |
| -H "Authorization: Bearer ${{ secrets.FINE_GRAINED_PAT }}" \ |
| repo_owner="IgniteUI" | ||
| repo_name="igniteui-actions" | ||
| event_type="igniteui-angular-samples-cd" | ||
| branch="${{ github.ref_name }}" |
Copilot
AI
Oct 31, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The workflow_dispatch input 'branch' is not being used. When triggered manually via workflow_dispatch, the branch variable should use github.event.inputs.branch instead of always using github.ref_name.
| branch="${{ github.ref_name }}" | |
| branch="${{ github.event.inputs.branch || github.ref_name }}" |
No description provided.