make vendor #902
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: make vendor | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
push: | |
branches: [ master ] | |
jobs: | |
report: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22 | |
- uses: actions/checkout@v4 | |
- name: make vendor | |
run: | | |
make vendor | |
- name: Create Pull Request | |
uses: peter-evans/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
COMMIT_MESSAGE: 'make vendor' | |
COMMIT_AUTHOR_EMAIL: [email protected] | |
COMMIT_AUTHOR_NAME: Github Actions Automations | |
PULL_REQUEST_TITLE: 'Automated make vendor' | |
PULL_REQUEST_BODY: | | |
Automated run of `make vendor` in the repo. | |
PULL_REQUEST_BRANCH: make-vendor | |
BRANCH_SUFFIX: short-commit-hash | |
- name: Check output environment variable | |
run: echo "Pull Request Number - $PULL_REQUEST_NUMBER" |