Skip to content

Commit d40e5ce

Browse files
Fix: Changing workflow order for dependabot (#80)
**User-Facing Changes** N/A **Description** Everytime that some dependabot PR was oppened the following error was preventing the dependabot step to run: `Error when performing the request to https://registry.npmjs.org/yarn/latest; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting 3414 at fetch (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:22762:11)` We changed the dependabot-fix script to avoid problems when trying to run corepack enable command. Main changes: - Changing the script order to avoid error when running corepack enable command - Adding 'lfs:true' and removing the manual command 'git lfs pull --include .yarn/' **Relevant links** - https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file - https://github.com/foxglove/studio/actions/runs/8118725898/job/22193503028 - actions/checkout#270 **Checklist** - [x] The web version was tested and it is running ok - [x] The desktop version was tested and it is running ok - [x] I've updated/created the storybook file(s) - [x] The release version was updated on package.json files
1 parent 497ed25 commit d40e5ce

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

.github/workflows/dependabot-fix.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,13 @@ jobs:
3232
# See: https://github.community/t/push-from-action-does-not-trigger-subsequent-action/16854/2
3333
token: ${{ secrets.LITCHBLICK_GITHUB_TOKEN }}
3434
ref: ${{ github.event.pull_request.head.ref }}
35-
36-
- run: git lfs pull --include .yarn/
37-
38-
- run: corepack enable
35+
lfs: true
3936

4037
- uses: actions/setup-node@v4.0.2
4138
with:
4239
node-version: 16.17
43-
cache: yarn
40+
41+
- run: corepack enable
4442

4543
- run: yarn install --mode skip-build
4644
env:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "foxbox",
3-
"version": "1.0.8",
3+
"version": "1.0.9",
44
"license": "MPL-2.0",
55
"private": true,
66
"productName": "Foxbox",

packages/studio/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@foxglove/studio",
3-
"version": "1.0.8",
3+
"version": "1.0.9",
44
"license": "MPL-2.0",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)