File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 99jobs :
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 :
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
You can’t perform that action at this time.
0 commit comments