File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Dashboards CI
22
33# this workflow will
44# - check for JSON syntax errors on every pull request
5- # - commit to the OBS development upstream whenever master the master branch is updated
5+ # - commit to the OBS development upstream whenever the main branch is updated
66
77on :
88 push :
@@ -22,15 +22,15 @@ jobs:
2222 build :
2323 runs-on : ubuntu-latest
2424 steps :
25- - uses : actions/checkout@v2
25+ - uses : actions/checkout@v3
2626 - uses : actions/setup-node@v1
2727 - run : npm -g install jsonlint
2828 - name : validate JSON
2929 run : find dashboards -name "*.json" -type f -exec jsonlint -c {} \;
3030
3131 obs-commit :
3232 needs : build
33- if : github.ref == 'refs/heads/master '
33+ if : github.ref == 'refs/heads/main '
3434 runs-on : ubuntu-latest
3535 container : shap/continuous_deliver
3636 env :
4141 REPOSITORY : ${{ github.repository }}
4242 GITHUB_OAUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4343 steps :
44- - uses : actions/checkout@v2
44+ - uses : actions/checkout@v3
4545 with :
4646 fetch-depth : 0
4747 - name : configure OSC
5050 mkdir -p $HOME/.config/osc
5151 cp /root/.config/osc/oscrc $HOME/.config/osc
5252 - run : make dashboards-obs-commit
53-
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Exporter CI
22
33# this workflow will
44# - check build and test the go codebase on every pull request
5- # - commit to the OBS development upstream whenever master the master branch is updated
5+ # - commit to the OBS development upstream whenever the main branch is updated
66# - perform an OBS Submit Request to downstream whenever a GitHub release is published
77# - attach build artifacts to GitHub releases
88
6161 REPOSITORY : ${{ github.repository }}
6262 GITHUB_OAUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6363 steps :
64- - uses : actions/checkout@v2
64+ - uses : actions/checkout@v3
6565 with :
6666 fetch-depth : 0
6767 - name : configure OSC
8686 REPOSITORY : ${{ github.repository }}
8787 GITHUB_OAUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8888 steps :
89- - uses : actions/checkout@v2
89+ - uses : actions/checkout@v3
9090 with :
9191 fetch-depth : 0
9292 - name : configure OSC
You can’t perform that action at this time.
0 commit comments