Skip to content

Commit

Permalink
Update create-or-update-release-pr.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pichlermarc authored Aug 8, 2024
1 parent f8a4a92 commit 2360329
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/create-or-update-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,25 @@ on:
options:
- experimental
- sdk
- semconv
- all

jobs:
create-or-update-release-pr:
create-pr:
runs-on: ubuntu-latest
steps:
- name: Fork
run: gh repo fork pichlermarc-sample-organization/test-release-pr
run:
gh repo fork pichlermarc-sample-organization/test-release-pr
env:
GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
- name: Checkout
uses: actions/checkout@v4
with:
with:
repository: marcpichler/test-release-pr #later opentelemetrybot/opentelemetry-js
ref: main
token: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
- name: Sync with upstream
# later https://github.com/open-telemetry/opentelemetry-js.git
run: |
git remote show origin
git remote add upstream https://github.com/pichlermarc-sample-organization/test-release-pr.git
Expand All @@ -43,11 +44,13 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: 'npm'
cache-dependency-path: package-lock.json
cache-dependency-path: |
package-lock.json
node-version: 22
- run: npm install -g npm@latest

- run: npm ci
- name: Bootstrap
run: npm ci

- name: Create/Update Release PR
run: |
Expand Down

0 comments on commit 2360329

Please sign in to comment.