34 Commits
v3.0.5 ... v3

Author SHA1 Message Date
James M. Greene
b8130d9ab9 Merge pull request #116 from actions/node-20-workflows
Update Actions workflows to use Node 20.x
2023-12-04 11:23:49 -06:00
James M. Greene
ffbbfa5ad0 Update Actions workflows to use Node 20.x 2023-12-04 11:12:35 -06:00
James M. Greene
18b91e4096 Merge pull request #114 from actions/dependabot/npm_and_yarn/eslint-plugin-github-4.10.1
Bump eslint-plugin-github from 4.7.0 to 4.10.1
2023-12-04 11:02:23 -06:00
dependabot[bot]
35974f9c62 Bump eslint-plugin-github from 4.7.0 to 4.10.1
Bumps [eslint-plugin-github](https://github.com/github/eslint-plugin-github) from 4.7.0 to 4.10.1.
- [Release notes](https://github.com/github/eslint-plugin-github/releases)
- [Commits](https://github.com/github/eslint-plugin-github/compare/v4.7.0...v4.10.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-github
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 17:00:33 +00:00
James M. Greene
17db653bf9 Merge pull request #113 from actions/dependabot/npm_and_yarn/word-wrap-1.2.5
Bump word-wrap from 1.2.3 to 1.2.5
2023-12-04 10:58:51 -06:00
dependabot[bot]
53f1f2445f Bump word-wrap from 1.2.3 to 1.2.5
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 16:51:06 +00:00
James M. Greene
5a19acb369 Merge pull request #112 from actions/dependabot/npm_and_yarn/jest-29.7.0
Bump jest from 29.5.0 to 29.7.0
2023-12-04 10:49:34 -06:00
dependabot[bot]
8914a00a27 Bump jest from 29.5.0 to 29.7.0
Bumps [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) from 29.5.0 to 29.7.0.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.7.0/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 16:35:01 +00:00
James M. Greene
7833dad43f Merge pull request #110 from actions/dependabot/npm_and_yarn/babel/traverse-7.23.5
Bump @babel/traverse from 7.21.3 to 7.23.5
2023-12-04 10:32:54 -06:00
dependabot[bot]
9b4596cffd Bump @babel/traverse from 7.21.3 to 7.23.5
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.3 to 7.23.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.5/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 16:11:43 +00:00
James M. Greene
30652a8ca4 Merge pull request #111 from actions/dependabot/npm_and_yarn/espree-9.6.1
Bump espree from 9.5.2 to 9.6.1
2023-12-04 10:10:25 -06:00
github-actions[bot]
dd8c98825f Update distributables after Dependabot 🤖 2023-12-04 16:09:48 +00:00
dependabot[bot]
5c432d4f0f Bump espree from 9.5.2 to 9.6.1
Bumps [espree](https://github.com/eslint/espree) from 9.5.2 to 9.6.1.
- [Release notes](https://github.com/eslint/espree/releases)
- [Changelog](https://github.com/eslint/espree/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/espree/compare/v9.5.2...v9.6.1)

---
updated-dependencies:
- dependency-name: espree
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 16:09:26 +00:00
James M. Greene
7d8c7a7dc6 Merge pull request #93 from actions/dependabot/npm_and_yarn/eslint-8.40.0
Bump eslint from 8.38.0 to 8.40.0
2023-12-04 10:07:47 -06:00
github-actions[bot]
2cbd45e4e0 Update distributables after Dependabot 🤖 2023-05-08 10:18:29 +00:00
dependabot[bot]
d5e5fcfaf7 Bump eslint from 8.38.0 to 8.40.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.38.0 to 8.40.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.38.0...v8.40.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-08 10:17:57 +00:00
James M. Greene
f156874f81 Merge pull request #89 from actions/dependabot/npm_and_yarn/eslint-8.38.0
Bump eslint from 8.36.0 to 8.38.0
2023-04-16 09:26:22 -05:00
github-actions[bot]
fe71f9ae5d Update distributables after Dependabot 🤖 2023-04-16 14:25:21 +00:00
dependabot[bot]
41eccaebbe Bump eslint from 8.36.0 to 8.38.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.36.0 to 8.38.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.36.0...v8.38.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-16 14:24:56 +00:00
James M. Greene
9cb82625f8 Merge pull request #86 from actions/dependabot/npm_and_yarn/eslint-plugin-github-4.7.0
Bump eslint-plugin-github from 4.6.1 to 4.7.0
2023-04-16 09:24:02 -05:00
dependabot[bot]
fadcf1a88f Bump eslint-plugin-github from 4.6.1 to 4.7.0
Bumps [eslint-plugin-github](https://github.com/github/eslint-plugin-github) from 4.6.1 to 4.7.0.
- [Release notes](https://github.com/github/eslint-plugin-github/releases)
- [Commits](https://github.com/github/eslint-plugin-github/compare/v4.6.1...v4.7.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-github
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-16 14:22:45 +00:00
James M. Greene
1269962883 Merge pull request #85 from actions/dependabot/npm_and_yarn/eslint-config-prettier-8.8.0
Bump eslint-config-prettier from 8.7.0 to 8.8.0
2023-04-16 09:22:09 -05:00
dependabot[bot]
ee9b267268 Bump eslint-config-prettier from 8.7.0 to 8.8.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.7.0 to 8.8.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.7.0...v8.8.0)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-16 14:21:27 +00:00
James M. Greene
3f3c78f313 Merge pull request #84 from actions/dependabot/npm_and_yarn/prettier-2.8.7
Bump prettier from 2.8.6 to 2.8.7
2023-04-16 09:20:47 -05:00
dependabot[bot]
22baedcbd5 Bump prettier from 2.8.6 to 2.8.7
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.6 to 2.8.7.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.6...2.8.7)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-16 14:19:11 +00:00
James M. Greene
5549504006 Merge pull request #83 from WofWca/better-error-message
Make "Get Pages failed" error message more helpful
2023-04-16 09:18:11 -05:00
James M. Greene
dbf7935b84 Reformat error message 2023-04-16 09:16:27 -05:00
WofWca
905065c25d Fix missing space 2023-03-30 14:55:29 +08:00
WofWca
17109fe139 Make "Get Pages failed" error message more helpful 2023-03-25 14:57:08 +00:00
James M. Greene
2a4c30ee0a Merge pull request #81 from actions/dependabot/npm_and_yarn/prettier-2.8.6
Bump prettier from 2.8.4 to 2.8.6
2023-03-22 15:34:18 -05:00
dependabot[bot]
031419c070 Bump prettier from 2.8.4 to 2.8.6
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.4 to 2.8.6.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.4...2.8.6)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-22 20:33:30 +00:00
James M. Greene
17d80648a1 Merge pull request #68 from actions/codeql-workflow
Add a CodeQL security scanning workflow
2023-03-22 15:31:28 -05:00
James M. Greene
f207b2fdea Merge branch 'main' into codeql-workflow 2023-03-22 15:29:25 -05:00
James M. Greene
ea6c51c96e Add a CodeQL security scanning workflow 2023-02-15 19:04:56 -06:00
11 changed files with 3175 additions and 1972 deletions

View File

@@ -34,7 +34,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 20.x
cache: 'npm'
- name: Install dependencies

View File

@@ -25,7 +25,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 20.x
cache: 'npm'
- name: Install dependencies

70
.github/workflows/codeql-analysis.yml vendored Normal file
View File

@@ -0,0 +1,70 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: 'CodeQL'
on:
push:
branches: [main]
pull_request:
# The branches below must be a subset of the branches above
branches: [main]
schedule:
- cron: '40 0 * * 1'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ['javascript']
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support
steps:
- name: Checkout repository
uses: actions/checkout@v3
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
# Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
#- run: |
# make bootstrap
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2

View File

@@ -25,7 +25,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 20.x
cache: npm
- name: Install dependencies

View File

@@ -26,7 +26,7 @@ jobs:
- name: Setup Node.JS
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 20.x
cache: 'npm'
- name: Install dependencies

View File

@@ -24,7 +24,7 @@ jobs:
- name: Setup Node.JS
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 20.x
cache: 'npm'
- name: Install dependencies

908
dist/index.js vendored

File diff suppressed because it is too large Load Diff

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

4140
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -26,14 +26,14 @@
"dependencies": {
"@actions/core": "^1.10.0",
"@actions/github": "^5.1.1",
"espree": "^9.5.0"
"espree": "^9.6.1"
},
"devDependencies": {
"@vercel/ncc": "^0.36.1",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.7.0",
"eslint-plugin-github": "^4.6.1",
"jest": "^29.5.0",
"prettier": "^2.8.4"
"eslint": "^8.40.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-github": "^4.10.1",
"jest": "^29.7.0",
"prettier": "^2.8.7"
}
}

View File

@@ -42,7 +42,10 @@ async function findOrCreatePagesSite({ githubToken, enablement = true }) {
pageObject = await getPagesSite({ githubToken })
} catch (error) {
if (!enablement) {
core.error('Get Pages site failed', error)
core.error(
'Get Pages site failed. Please verify that the repository has Pages enabled and configured to build using GitHub Actions, or consider exploring the `enablement` parameter for this action.',
error
)
throw error
}
core.warning('Get Pages site failed', error)