aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/filestash.yml4
-rw-r--r--.github/workflows/verify-release.yml33
2 files changed, 36 insertions, 1 deletions
diff --git a/.github/workflows/filestash.yml b/.github/workflows/filestash.yml
index fd55a64cf..7e306a6e5 100644
--- a/.github/workflows/filestash.yml
+++ b/.github/workflows/filestash.yml
@@ -10,11 +10,13 @@ permissions:
jobs:
update:
+ name: Update Filestash
runs-on: ubuntu-latest
+ # skip on forks
+ if: ${{ github.repository == 'jquery/jquery' }}
environment: filestash
env:
NODE_VERSION: 20.x
- name: Update Filestash
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
diff --git a/.github/workflows/verify-release.yml b/.github/workflows/verify-release.yml
new file mode 100644
index 000000000..89dbc7b65
--- /dev/null
+++ b/.github/workflows/verify-release.yml
@@ -0,0 +1,33 @@
+name: Reproducible Builds
+on:
+ # On tags
+ push:
+ tags:
+ - '*'
+ # Or manually
+ workflow_dispatch:
+ inputs:
+ version:
+ description: 'Version to verify (>= 4.0.0-beta.2)'
+ required: false
+
+jobs:
+ run:
+ name: Verify release
+ runs-on: ubuntu-latest
+ # skip on forks
+ if: ${{ github.repository == 'jquery/jquery' }}
+ env:
+ NODE_VERSION: 20.x
+ steps:
+ - name: Checkout
+ uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
+
+ - name: Use Node.js ${{ env.NODE_VERSION }}
+ uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
+ with:
+ node-version: ${{ env.NODE_VERSION }}
+
+ - run: npm run release:verify
+ env:
+ VERSION: ${{ github.event.inputs.version || github.ref_name }}