chore(deps): update ghcr.io/hargata/lubelogger docker tag to v1.4.1 #10
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.PAT }} | |
reaction: 'eyes' | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- env: | |
GH_TOKEN: ${{ github.token }} | |
run: | | |
git config user.name shanduur-auto | |
git config user.email 75127809+shanduur-auto@users.noreply.github.com | |
gh auth setup-git | |
- 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 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: ./go.mod | |
- run: | | |
make ci CHART=anza-labs/${{ env.chart_name }} VERSION=${{ env.chart_version }} | |
- env: | |
GH_TOKEN: ${{ github.token }} | |
run: | | |
git add . | |
git commit -sm "fix: generated chart ${{ env.chart_name }} version ${{ env.chart_version }}" || echo "No changes to commit" | |
git push origin HEAD |