mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-03-17 20:57:51 +02:00
Fix dependabot PR workflow (#3347)
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com> Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
This commit is contained in:
parent
042d938989
commit
a8596fd9e9
5
.github/workflows/create-dependabot-pr.yml
vendored
5
.github/workflows/create-dependabot-pr.yml
vendored
@ -7,6 +7,11 @@ jobs:
|
||||
create-pr:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 1.19
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install zsh
|
||||
|
2
.github/workflows/scripts/dependabot-pr.sh
vendored
2
.github/workflows/scripts/dependabot-pr.sh
vendored
@ -21,7 +21,7 @@ PR_NAME=dependabot-prs/`date +'%Y-%m-%dT%H%M%S'`
|
||||
git checkout -b $PR_NAME
|
||||
|
||||
IFS=$'\n'
|
||||
requests=($(gh pr list --search "author:app/dependabot" --json number,title --template '{{range .}}{{tablerow .title}}{{end}}'))
|
||||
requests=($( gh pr list --search "author:app/dependabot" --json title --jq '.[].title' ))
|
||||
message=""
|
||||
dirs=(`find . -type f -name "go.mod" -exec dirname {} \; | sort | egrep '^./'`)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user