Skip to content

Commit 77d8341

Browse files
committed
fix(ci): removed global report since all checks are added to enforcement
1 parent dbe3c31 commit 77d8341

File tree

2 files changed

+0
-53
lines changed

2 files changed

+0
-53
lines changed

.github/workflows/build-arduino.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -107,29 +107,3 @@ jobs:
107107
echo "============================================================="
108108
arduino-cli compile --library . --warnings none -b rp2040:rp2040:rpipicow "examples/$i/$i.ino"
109109
done
110-
111-
report-success:
112-
name: Report Build (Arduino) success
113-
runs-on: ubuntu-latest
114-
needs: [arduino-esp32, arduino-esp8266, arduino-rp2040]
115-
steps:
116-
- name: Report success
117-
uses: actions/github-script@v7
118-
with:
119-
script: |
120-
const owner = '${{ github.repository_owner }}';
121-
const repo = '${{ github.repository }}'.split('/')[1];
122-
const sha = '${{ github.sha }}';
123-
core.debug(`owner: ${owner}`);
124-
core.debug(`repo: ${repo}`);
125-
core.debug(`sha: ${sha}`);
126-
const { context: name, state } = (await github.rest.repos.createCommitStatus({
127-
context: 'Build (Arduino)',
128-
description: 'Build (Arduino) successful',
129-
owner: owner,
130-
repo: repo,
131-
sha: sha,
132-
state: 'success',
133-
target_url: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
134-
})).data;
135-
core.info(`${name} is ${state}`);

.github/workflows/build-pioarduino.yml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -224,30 +224,3 @@ jobs:
224224
echo "============================================================="
225225
PLATFORMIO_SRC_DIR=examples/$i PIO_BOARD=${{ matrix.board }} pio run -e ci-raspberrypi
226226
done
227-
228-
report-success:
229-
name: Report Build (Arduino) success
230-
runs-on: ubuntu-latest
231-
needs: [platformio-esp32-arduino-3, platformio-esp32-arduino2, platformio-specials, platformio-esp8266, platformio-rp2040]
232-
steps:
233-
- name: Report success
234-
uses: actions/github-script@v7
235-
with:
236-
script: |
237-
const owner = '${{ github.repository_owner }}';
238-
const repo = '${{ github.repository }}'.split('/')[1];
239-
const sha = '${{ github.sha }}';
240-
core.debug(`owner: ${owner}`);
241-
core.debug(`repo: ${repo}`);
242-
core.debug(`sha: ${sha}`);
243-
const { context: name, state } = (await github.rest.repos.createCommitStatus({
244-
context: 'Build (pioarduino)',
245-
description: 'Build (pioarduino) successful',
246-
owner: owner,
247-
repo: repo,
248-
sha: sha,
249-
state: 'success',
250-
target_url: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
251-
})).data;
252-
core.info(`${name} is ${state}`);
253-

0 commit comments

Comments
 (0)