Sync main with dev #1
Workflow file for this run
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
name: Project Card Validation Workflow | |
# TeqBench - CI/CD - Project card validation for required (custom) settings/variables. | |
# Run the project's CI/CD to build/deploy NuGet package only when have merged PR to main branch. | |
on: | |
pull_request: | |
# Handle the pull_request event triggers here, except 'closed' in order to always have the 'Mergable' and 'Release Type' evaluations up to date. | |
# See https://frontside.com/blog/2020-05-26-github-actions-pull_request/ for more details on the specific event triggers for a pull request. | |
# The 'closed' trigger is handled by the ci-cd.yml workflow. | |
types: [opened,edited,reopened,synchronize,converted_to_draft,ready_for_review] | |
branches: | |
- main | |
issues: | |
branches: | |
- main | |
# The `concurrency` key ensures that only a single workflow in the same concurrency group will run at the same time. | |
# For more information, see "[AUTOTITLE](/actions/using-jobs/using-concurrency)." | |
# `concurrency.group` generates a concurrency group name from the workflow name and repository name. | |
# The `||` operator is used to define fallback values. | |
concurrency: | |
group: '${{ github.workflow }} @ ${{ github.repository || github.head_ref || github.ref }}' | |
jobs: | |
common_project_card_validation: | |
name: Invoke Common Project Card Validation | |
uses: teqbench/ci-cd-workflows/.github/workflows/ci-cd-project-card-validation.yml@main | |
secrets: inherit | |
with: | |
repository: ${{ github.repository }} | |
repository_owner: ${{ github.repository_owner }} | |
repository_name: ${{ github.event.repository.name }} | |
resource_url: ${{ github.event.issue.html_url || github.event.pull_request.html_url }} | |
event_number: ${{ github.event.issue.number || github.event.pull_request.number }} | |
project_number: 7 |