Skip to content

Commit

Permalink
Merge pull request #240 from Azure/build-workflow-fix8
Browse files Browse the repository at this point in the history
Testing Exemption and PR Merge Wait
  • Loading branch information
DCMattyG authored Feb 28, 2024
2 parents 8d42640 + 2dfbee5 commit 48f7a9e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/azure-ipam-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ run-name: Azure IPAM Production Container Build

on:
push:
branches: [ main ]
branches:
- main

permissions:
id-token: write
Expand Down Expand Up @@ -127,7 +128,8 @@ jobs:
prNumber: ${{ needs.version.outputs.prNumber }}
run: |
gh pr create --base main --head "ipam-version-${prNumber}" --title "Update Azure IPAM Version" --body "-Updated Version to v${{ needs.version.outputs.ipamVersion }}"
gh pr merge "ipam-version-${prNumber}" -t "Merge pull request from Azure/ipam-version-${prNumber} [skip ci]" -m
gh pr checks "ipam-version-${prNumber}" --watch
gh pr merge "ipam-version-${prNumber}" -t "Merge pull request from Azure/ipam-version-${prNumber} [skip ci]" -m -d
- name: Pull Merged Code from Main Branch
id: pullMainCode
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/azure-ipam-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ run-name: Azure IPAM Deployment & Testing

on:
pull_request:
branches: [ main ]
branches:
- main
- '!ipam-version-*'

env:
ACR_NAME: ${{ vars.IPAM_TEST_ACR }}
Expand Down

0 comments on commit 48f7a9e

Please sign in to comment.