mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 13:07:09 +00:00
chore: upgrade actions to latest versions
This commit is contained in:
parent
7d344ef854
commit
a3652e3f2f
19
.github/workflows/checks.yml
vendored
19
.github/workflows/checks.yml
vendored
@ -9,15 +9,32 @@ jobs:
|
|||||||
name: Tidy PR
|
name: Tidy PR
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read # for TimonVS/pr-labeler-action to read config file
|
contents: write # for TimonVS/pr-labeler-action to read config file
|
||||||
pull-requests: write # for TimonVS/pr-labeler-action to add labels in PR
|
pull-requests: write # for TimonVS/pr-labeler-action to add labels in PR
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0 # Required to fetch all history for merging
|
||||||
|
|
||||||
|
- name: Update PR with master
|
||||||
|
run: |
|
||||||
|
git config user.name github-actions
|
||||||
|
git config user.email github-actions@github.com
|
||||||
|
git fetch origin master
|
||||||
|
git merge origin/master --no-edit
|
||||||
|
git push
|
||||||
|
|
||||||
- uses: TimonVS/pr-labeler-action@v5
|
- uses: TimonVS/pr-labeler-action@v5
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
configuration-path: .github/pr-labeler.yml # optional, .github/pr-labeler.yml is the default value
|
configuration-path: .github/pr-labeler.yml # optional, .github/pr-labeler.yml is the default value
|
||||||
|
|
||||||
|
- name: AI PR Body Generator
|
||||||
|
uses: jbrocher/auto-pr-body-generator@v0.2.2
|
||||||
|
with:
|
||||||
|
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||||
|
|
||||||
test-builds:
|
test-builds:
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user