Skip to content

Commit

Permalink
[dev-v2.10] testing new strategy (#4952)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasSUSE authored Jan 11, 2025
1 parent eda94ab commit 6d3f36f
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/auto-bump.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,19 @@ jobs:
exit 1
fi
- name: Read App Secrets
uses: rancher-eio/read-vault-secrets@main
with:
secrets: |
secret/data/github/repo/${{ github.repository }}/github/app-credentials appId | APP_ID ;
secret/data/github/repo/${{ github.repository }}/github/app-credentials privateKey | PRIVATE_KEY
- name: Create App Token
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ env.APP_ID }}
private-key: ${{ env.PRIVATE_KEY }}

- name: Configure Git for Commit
run: |
git config --global user.name "GitHub Actions"
Expand All @@ -54,6 +67,7 @@ jobs:
git push origin ${{ env.BRANCH }}
- name: Create Pull Request
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
run: |
gh auth login --with-token < ${{ secrets.GITHUB_TOKEN }}
gh pr create --base ${{ env.BRANCH }} --head "auto-bump_${{ env.CHART }}" --title "[${{ env.BRANCH }}] auto bump: ${{ env.CHART }}" --body $'This PR auto-bumps the chart version for ${{ env.CHART }}.\n---\n## Review Checklist: \n- [ ] CRDs\n- [ ] templates folder if any\n- [ ] Version'

0 comments on commit 6d3f36f

Please sign in to comment.