Skip to content

Commit cf30b77

Browse files
committed
temp
1 parent 66bbef7 commit cf30b77

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/update-semconv-integration-branch.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ on:
99
jobs:
1010
update-semconv-integration-branch:
1111
runs-on: ubuntu-latest
12-
if: github.repository == 'open-telemetry/opentelemetry.io'
12+
#if: github.repository == 'open-telemetry/opentelemetry.io'
1313
steps:
1414
- uses: actions/checkout@v4
1515
with:
1616
# this is needed in order to do the rebase below
1717
fetch-depth: 0
1818
# this is needed in order to trigger workflows when pushing new commits to the PR
19-
token: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
19+
#token: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
2020

2121
- name: Set environment variables
2222
env:
@@ -86,7 +86,9 @@ jobs:
8686
8787
sed -i "s/^\tsemconv-pin = .*/\tsemconv-pin = $commit_desc/" .gitmodules
8888
89-
if ! git diff-index --quiet HEAD; then
89+
git add content-modules/semantic-conventions .gitmodules
90+
91+
if ! git diff-index --quiet --cached HEAD; then
9092
git commit -am "Update semconv submodule to $commit_desc"
9193
git push
9294
fi

0 commit comments

Comments
 (0)