Skip to content

Commit

Permalink
[bot] update konflux configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
openshift-pipelines-bot authored and vdemeester committed Dec 11, 2024
1 parent 80f4aa3 commit 000fae4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/update-sources.main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ jobs:
- name: fetch-payload
run: |
if [[ -z $(git status --porcelain --untracked-files=no) ]]; then
pushd upstream
BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)
popd
if [[ "$BRANCH_NAME" != "main" ]] && [[ -z $(git status --porcelain --untracked-files=no) ]]; then
echo "No change, do nothing"
exit 0
fi
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/update-sources.next.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ jobs:
- name: fetch-payload
run: |
if [[ -z $(git status --porcelain --untracked-files=no) ]]; then
pushd upstream
BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)
popd
if [[ "$BRANCH_NAME" != "main" ]] && [[ -z $(git status --porcelain --untracked-files=no) ]]; then
echo "No change, do nothing"
exit 0
fi
Expand Down

0 comments on commit 000fae4

Please sign in to comment.