chore(deps): update ghcr.io/hargata/lubelogger docker tag to v1.4.1 #4
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: command | |
on: | |
issue_comment: | |
types: | |
- created | |
jobs: | |
process-comment: | |
if: startsWith(github.event.comment.body, '/ci ') | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: dkershner6/reaction-action@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: fregante/setup-git-user@v2 | |
- id: extract_info | |
run: | | |
./hack/comment.sh "${{ github.event.comment.body }}" "${GITHUB_ENV}" | |
- env: | |
GH_TOKEN: ${{ github.token }} | |
run: | | |
PR_NUMBER=${{ github.event.issue.number }} | |
BRANCH_NAME=$(gh pr view $PR_NUMBER --json headRefName --jq '.headRefName') | |
git fetch origin $BRANCH_NAME | |
git checkout $BRANCH_NAME | |
- run: | | |
make ci CHART=anza-labs/${{ env.chart_name }} VERSION=${{ env.chart_version }} | |
- run: | | |
git add . | |
git commit -m "fix: generated chart ${{ env.chart_name }} version ${{ env.chart_version }}" || echo "No changes to commit" | |
git push origin HEAD |