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

Add approval workflow #85

Merged
merged 5 commits into from
Jan 10, 2025
Merged

Add approval workflow #85

merged 5 commits into from
Jan 10, 2025

Conversation

sk593
Copy link
Contributor

@sk593 sk593 commented Nov 15, 2024

This PR adds an approval workflow to grant forks access to necessary variables to run the publish-bicep workflow. This addresses #61

@sk593 sk593 force-pushed the add-approval-workflow branch from 6ef6ea1 to 886501d Compare November 15, 2024 22:33
@sk593 sk593 marked this pull request as ready for review December 3, 2024 23:33
@sk593 sk593 changed the title [wip] Add approval workflow Add approval workflow Dec 3, 2024
.github/workflows/publish-bicep.yaml Outdated Show resolved Hide resolved

env:
# bicep-types ACR url for uploading AWS Bicep types
BICEP_TYPES_REGISTRY: 'biceptypes.azurecr.io'
AWS_REGION: us-west-2
CI_PUBLISH_RELEASE: ${{ github.repository == 'radius-project/bicep-types-aws' && startsWith(github.ref, 'refs/tags/v') && github.event_name == 'push' }}
CI_PUBLISH_LATEST: ${{ github.repository == 'radius-project/bicep-types-aws' && github.ref == 'refs/heads/main' && github.event_name == 'push' }}
PUBLISH_BICEP_APP_ID: 1077084
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to document this to build shared context?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we should. Will open a task to track

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, thanks! Could you link the issue here once it is created?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sk593 sk593 force-pushed the add-approval-workflow branch from bf1fb09 to 67bd0fd Compare December 13, 2024 00:03
@sk593 sk593 requested review from a team as code owners December 13, 2024 00:03
@sk593 sk593 temporarily deployed to publish-bicep January 9, 2025 17:49 — with GitHub Actions Inactive
@sk593 sk593 merged commit ebefa41 into main Jan 10, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants