mirror of
https://github.com/actions/deploy-pages.git
synced 2025-12-09 12:26:11 +00:00
Merge branch 'main' into actions-http-client
This commit is contained in:
17
.github/workflows/draft-release.yml
vendored
Normal file
17
.github/workflows/draft-release.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
name: Draft release
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
draft-release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: release-drafter/release-drafter@v5
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
17
.github/workflows/rebuild-dependabot-prs.yml
vendored
17
.github/workflows/rebuild-dependabot-prs.yml
vendored
@@ -5,17 +5,20 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- 'dependabot/npm**'
|
- 'dependabot/npm**'
|
||||||
|
|
||||||
permissions:
|
# No permissions needed for `GITHUB_TOKEN` since we're using a PAT instead
|
||||||
contents: write
|
permissions: {}
|
||||||
|
|
||||||
# This allows a subsequently queued workflow run to interrupt previous runs
|
|
||||||
concurrency:
|
|
||||||
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
|
|
||||||
cancel-in-progress: true
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
rebuild-dist:
|
rebuild-dist:
|
||||||
if: ${{ github.event.sender.login == 'dependabot[bot]' }}
|
if: ${{ github.event.sender.login == 'dependabot[bot]' }}
|
||||||
|
|
||||||
|
# This allows a subsequently queued workflow run to interrupt previous runs.
|
||||||
|
# It is evaluated AFTER the job's `if` condition, so a push triggered by this
|
||||||
|
# workflow's PAT will NOT interrupt a run triggered by a push from Dependabot.
|
||||||
|
concurrency:
|
||||||
|
group: '${{ github.workflow }} / ${{ github.job }} @ ${{ github.ref }}'
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|||||||
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@@ -1,10 +1,14 @@
|
|||||||
name: Run Tests
|
name: Run Tests
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -23,9 +27,3 @@ jobs:
|
|||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: npm run test
|
run: npm run test
|
||||||
|
|
||||||
# Drafts your next Release notes as Pull Requests are merged into "main"
|
|
||||||
- uses: release-drafter/release-drafter@v5
|
|
||||||
if: github.ref_name == 'main'
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ inputs:
|
|||||||
required: false
|
required: false
|
||||||
default: 'false'
|
default: 'false'
|
||||||
conclusion:
|
conclusion:
|
||||||
|
deprecationMessage: 'Use of this input does nothing as it was part of the deprecated `emit_telemetry` flow. You should remove this parameter from your workflow.'
|
||||||
description: 'The status of the previous build.'
|
description: 'The status of the previous build.'
|
||||||
required: false
|
required: false
|
||||||
token:
|
token:
|
||||||
|
|||||||
1577
package-lock.json
generated
1577
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -10,12 +10,12 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vercel/ncc": "^0.31.1",
|
"@vercel/ncc": "^0.31.1",
|
||||||
"eslint": "^8.33.0",
|
"eslint": "^8.35.0",
|
||||||
"eslint-config-prettier": "^8.6.0",
|
"eslint-config-prettier": "^8.6.0",
|
||||||
"eslint-plugin-github": "^4.6.1",
|
"eslint-plugin-github": "^4.6.1",
|
||||||
"jest": "^29.4.1",
|
"jest": "^29.4.3",
|
||||||
"nock": "^13.3.0",
|
"nock": "^13.3.0",
|
||||||
"prettier": "^2.8.3"
|
"prettier": "^2.8.4"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"all": "npm run format && npm run lint && npm run prepare && npm run test",
|
"all": "npm run format && npm run lint && npm run prepare && npm run test",
|
||||||
|
|||||||
Reference in New Issue
Block a user