This is an automated email from the ASF dual-hosted git repository.
erisu pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/cordova-plugin-network-information.git
The following commit(s) were added to refs/heads/master by this push:
new 7a6b82c chore(workflow): sync workflows & configs (#187)
7a6b82c is described below
commit 7a6b82cf6d0ce5d57059e4c19debd0a7fe6587c7
Author: エリス <[email protected]>
AuthorDate: Tue Jul 28 01:02:39 2026 +0900
chore(workflow): sync workflows & configs (#187)
---
.github/workflows/android.yml | 16 ++++++++++------
.github/workflows/chrome.yml | 8 ++++++--
.github/workflows/ci.yml | 12 ++++++++----
.github/workflows/ios.yml | 13 ++++++++-----
.github/workflows/lint.yml | 8 ++++++--
.github/workflows/release-audit.yml | 15 +++++++++------
.rat-excludes | 2 --
.ratignore | 24 ------------------------
8 files changed, 47 insertions(+), 51 deletions(-)
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml
index 5da46d2..68ae405 100644
--- a/.github/workflows/android.yml
+++ b/.github/workflows/android.yml
@@ -81,11 +81,16 @@ jobs:
timeout-minutes: 60
steps:
- - uses: actions/checkout@v6
- - uses: actions/setup-node@v6
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #
v7.0.1
+ with:
+ persist-credentials: false
+ fetch-depth: 1
+
+ - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 #
v7.0.0
with:
node-version: ${{ env.node-version }}
- - uses: actions/setup-java@v5
+
+ - uses: actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95 #
v5.6.0
env:
java-version: ${{ matrix.versions.java-version == '' &&
env.default_java-version || matrix.versions.java-version }}
java-distro: ${{ matrix.versions.java-distro == '' &&
env.default_java-distro || matrix.versions.java-distro }}
@@ -116,8 +121,7 @@ jobs:
if: ${{ endswith(env.repo, '/cordova-paramedic') != true }}
run: npm i -g github:apache/cordova-paramedic
- # reactivecircus/android-emulator-runner v2.37.0
- - uses:
reactivecircus/android-emulator-runner@e89f39f1abbbd05b1113a29cf4db69e7540cae5a
+ - uses:
reactivecircus/android-emulator-runner@a421e43855164a8197daf9d8d40fe71c6996bb0d
# v2.38.0
env:
system-image-arch: ${{ matrix.versions.system-image-arch == '' &&
env.default_system-image-arch || matrix.versions.system-image-arch }}
system-image-target: ${{ matrix.versions.system-image-target == ''
&& env.default_system-image-target || matrix.versions.system-image-target }}
@@ -131,7 +135,7 @@ jobs:
script: echo "Pregenerate the AVD before running Paramedic"
- name: Run paramedic tests
- uses:
reactivecircus/android-emulator-runner@e89f39f1abbbd05b1113a29cf4db69e7540cae5a
+ uses:
reactivecircus/android-emulator-runner@a421e43855164a8197daf9d8d40fe71c6996bb0d
# v2.38.0
env:
system-image-arch: ${{ matrix.versions.system-image-arch == '' &&
env.default_system-image-arch || matrix.versions.system-image-arch }}
system-image-target: ${{ matrix.versions.system-image-target == ''
&& env.default_system-image-target || matrix.versions.system-image-target }}
diff --git a/.github/workflows/chrome.yml b/.github/workflows/chrome.yml
index f6680a3..d430677 100644
--- a/.github/workflows/chrome.yml
+++ b/.github/workflows/chrome.yml
@@ -45,8 +45,12 @@ jobs:
node-version: 24
steps:
- - uses: actions/checkout@v6
- - uses: actions/setup-node@v6
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #
v7.0.1
+ with:
+ persist-credentials: false
+ fetch-depth: 1
+
+ - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 #
v7.0.0
with:
node-version: ${{ env.node-version }}
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 2aae7e3..0d788b6 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -35,12 +35,16 @@ jobs:
security-events: write
steps:
- - uses: actions/checkout@v6
- - uses: actions/setup-node@v6
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #
v7.0.1
+ with:
+ persist-credentials: false
+ fetch-depth: 1
+
+ - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 #
v7.0.0
with:
node-version: 24.x
- - uses: github/codeql-action/init@v4
+ - uses:
github/codeql-action/init@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4.37.3
with:
tools: linked
languages: javascript, actions
@@ -54,4 +58,4 @@ jobs:
env:
CI: true
- - uses: github/codeql-action/analyze@v4
+ - uses:
github/codeql-action/analyze@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4.37.3
diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml
index 8e92a35..1776ffe 100644
--- a/.github/workflows/ios.yml
+++ b/.github/workflows/ios.yml
@@ -64,16 +64,19 @@ jobs:
- os-version: macos-26
ios-version: 26.x
- xcode-version: 26.1
+ xcode-version: 26.x
steps:
- - uses: actions/checkout@v6
- - uses: actions/setup-node@v6
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #
v7.0.1
+ with:
+ persist-credentials: false
+ fetch-depth: 1
+
+ - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 #
v7.0.0
with:
node-version: ${{ env.node-version }}
- # maxim-lobanov/setup-xcode v1.7.0
- - uses:
maxim-lobanov/setup-xcode@ed7a3b1fda3918c0306d1b724322adc0b8cc0a90
+ - uses:
maxim-lobanov/setup-xcode@ed7a3b1fda3918c0306d1b724322adc0b8cc0a90 # v1.7.0
env:
xcode-version: ${{ matrix.versions.xcode-version == '' &&
env.default_xcode-version || matrix.versions.xcode-version }}
with:
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index fe55389..47c42dc 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -40,8 +40,12 @@ jobs:
node-version: 24
steps:
- - uses: actions/checkout@v6
- - uses: actions/setup-node@v6
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #
v7.0.1
+ with:
+ persist-credentials: false
+ fetch-depth: 1
+
+ - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 #
v7.0.0
with:
node-version: ${{ env.node-version }}
diff --git a/.github/workflows/release-audit.yml
b/.github/workflows/release-audit.yml
index 0855f26..6bceca2 100644
--- a/.github/workflows/release-audit.yml
+++ b/.github/workflows/release-audit.yml
@@ -34,13 +34,16 @@ jobs:
runs-on: ubuntu-latest
steps:
# Checkout project
- - uses: actions/checkout@v6
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #
v7.0.1
+ with:
+ persist-credentials: false
+ fetch-depth: 1
- # Check license headers (v2.0.0)
- - uses: erisu/apache-rat-action@46fb01ce7d8f76bdcd7ab10e7af46e1ea95ca01c
+ # Check license headers
+ - uses: erisu/apache-rat-action@30c94d10ed21e6f6fd5590dc5c158f58cae7a0dd
# v3.0.0
# Setup environment with node
- - uses: actions/setup-node@v6
+ - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 #
v7.0.0
with:
node-version: 24
@@ -48,8 +51,8 @@ jobs:
- name: npm install packages
run: npm ci
- # Check node package licenses (v2.1.0)
- - uses:
erisu/license-checker-action@04511f4c052b5773f11e1c65b42cda88235c62ae
+ # Check node package licenses
+ - uses:
erisu/license-checker-action@04511f4c052b5773f11e1c65b42cda88235c62ae # v2.1.0
with:
license-config: 'licence_checker.yml'
include-asf-category-a: true
diff --git a/.rat-excludes b/.rat-excludes
index 295a332..6c43da8 100644
--- a/.rat-excludes
+++ b/.rat-excludes
@@ -15,8 +15,6 @@
# specific language governing permissions and limitations
# under the License.
-# This file used by ATR
-
.git/
node_modules/
src/ios/CDVReachability.h
diff --git a/.ratignore b/.ratignore
deleted file mode 100644
index 9907e8d..0000000
--- a/.ratignore
+++ /dev/null
@@ -1,24 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-# This file used by release audit workflow
-
-.git/
-node_modules/
-src/ios/CDVReachability.h
-src/ios/CDVReachability.m
-types/index.d.ts
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]