Allow the option to monitor argocd apps in other namespaces #729
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: pr_build | |
on: | |
pull_request: | |
paths: | |
- '*' | |
- '*/**' | |
- '!README.md' | |
- '!COPYING.LGPL-3' | |
- '!.gitattributes' | |
- '!.gitignore' | |
types: | |
- opened | |
- reopened | |
- synchronize | |
env: | |
FS_TAG: 0.0.0-pr${{ github.event.pull_request.number }} | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
permissions: | |
contents: read | |
packages: write | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/build-image | |
id: build-image | |
with: | |
push: '${{ github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name }}' | |
image_tag: ${{ env.FS_TAG }} | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: mshick/add-pr-comment@v2 | |
with: | |
message: | | |
Temporary image available at `${{ steps.build-image.outputs.image }}`. | |
if: github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name |