You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by dp...@apache.org on 2024/10/23 04:57:04 UTC
(cordova-fetch) branch master updated: chore(ci): Fix dependabot code scanning errors (#121)
This is an automated email from the ASF dual-hosted git repository.
dpogue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-fetch.git
The following commit(s) were added to refs/heads/master by this push:
new 3b15497 chore(ci): Fix dependabot code scanning errors (#121)
3b15497 is described below
commit 3b1549725468f67c57499c8c5dd74bc8a5923e08
Author: Darryl Pogue <da...@dpogue.ca>
AuthorDate: Tue Oct 22 21:57:00 2024 -0700
chore(ci): Fix dependabot code scanning errors (#121)
* chore(ci): Fix dependabot code scanning errors
Dependabot pushes a branch to the repo and opens a pull request. The
pull request workflow runs properly, but the push workflow fails because
dependabot doesn't have access to a read/write GITHUB_TOKEN and doesn't
have access to the repo secrets.
The quick fix is telling CI not to run the push event workflow for
branches that start with `dependabot/`.
* chore(ci): Add Node 22 to CI
---
.github/workflows/ci.yml | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e1136f3..a691fc9 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -17,7 +17,13 @@
name: Node CI
-on: [push, pull_request]
+on:
+ push:
+ branches-ignore:
+ - 'dependabot/*'
+ pull_request:
+ branches:
+ - '*'
jobs:
test:
@@ -25,7 +31,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
- node-version: [16.x, 18.x, 20.x]
+ node-version: [16.x, 18.x, 20.x, 22.x]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org