chore(deps): update ghcr.io/anza-labs/scribe docker tag to v0.3.0 #28
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: | |
persist-credentials: false | |
fetch-depth: 0 | |
- run: | | |
git config user.name shanduur-auto | |
git config user.email [email protected] | |
- id: extract_info | |
env: | |
GH_TOKEN: ${{ github.token }} | |
run: | | |
./hack/comment.sh "${{ github.event.comment.body }}" "${{ github.event.issue.number }}" "${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 }} | |
- run: | | |
git add . | |
git commit -sm "fix: generated chart ${{ env.chart_name }} version ${{ env.chart_version }}" || echo "No changes to commit" | |
- uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.PAT }} | |
branch: ${{ env.branch }} |