Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
olix0r committed Mar 20, 2024
1 parent 870ed3b commit f9be3c5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/sync-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
runs-on: ubuntu-22.04
timeout-minutes: 5
env:
LINKERD2_PROXY_REPO: ${{ vars.LINKERD2_PROXY_REPO || 'linkerd/linkerd2-proxy' }}
VERSION: ${{ needs.meta.outputs.version }}
permissions:
checks: read
Expand All @@ -57,8 +58,6 @@ jobs:
echo changed=true >> "$GITHUB_OUTPUT"
fi
- if: steps.changed.outputs.changed == 'true'
env:
LINKERD2_PROXY_REPO: ${{ vars.LINKERD2_PROXY_REPO || 'linkerd/linkerd2-proxy' }}
run: |
set -eu
git fetch origin bot/sync-proxy/"$VERSION" || true
Expand All @@ -69,4 +68,8 @@ jobs:
env:
GH_TOKEN: ${{ secrets.LINKERD2_PROXY_GITHUB_TOKEN || github.token }}
run: |
gh pr create --fill --label 'bot/sync-proxy' --title "proxy: $VERSION"
gh pr create \
--title "proxy: $VERSION" \
--body "Synced $VERSION from $LINKERD2_PROXY_REPO " \
--fill \
--label 'bot/sync-proxy'

0 comments on commit f9be3c5

Please sign in to comment.