From 6eef480e1e0c839243871b7714a925a14579fc28 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 2 Dec 2021 23:02:11 +0200 Subject: CI: add `workflow_dispatch` (#35454) --- .github/workflows/browserstack.yml | 1 + .github/workflows/bundlewatch.yml | 1 + .github/workflows/codeql.yml | 1 + .github/workflows/css.yml | 1 + .github/workflows/docs.yml | 1 + .github/workflows/js.yml | 1 + .github/workflows/lint.yml | 1 + .github/workflows/node-sass.yml | 1 + .github/workflows/release-notes.yml | 1 + 9 files changed, 9 insertions(+) (limited to '.github') diff --git a/.github/workflows/browserstack.yml b/.github/workflows/browserstack.yml index 6a84597e9..0a3426e80 100644 --- a/.github/workflows/browserstack.yml +++ b/.github/workflows/browserstack.yml @@ -2,6 +2,7 @@ name: BrowserStack on: push: + workflow_dispatch: env: FORCE_COLOR: 2 diff --git a/.github/workflows/bundlewatch.yml b/.github/workflows/bundlewatch.yml index e895f126f..14deaa97f 100644 --- a/.github/workflows/bundlewatch.yml +++ b/.github/workflows/bundlewatch.yml @@ -5,6 +5,7 @@ on: branches-ignore: - "dependabot/**" pull_request: + workflow_dispatch: env: FORCE_COLOR: 2 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index de6626a15..2aa437417 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -14,6 +14,7 @@ on: - "!dependabot/**" schedule: - cron: "0 2 * * 5" + workflow_dispatch: jobs: analyze: diff --git a/.github/workflows/css.yml b/.github/workflows/css.yml index 71e6042b4..0059dc44d 100644 --- a/.github/workflows/css.yml +++ b/.github/workflows/css.yml @@ -5,6 +5,7 @@ on: branches-ignore: - "dependabot/**" pull_request: + workflow_dispatch: env: FORCE_COLOR: 2 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 8bdcf9671..cdb2917d9 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -5,6 +5,7 @@ on: branches-ignore: - "dependabot/**" pull_request: + workflow_dispatch: env: FORCE_COLOR: 2 diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index 1f03d8cc5..7af17ceb6 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -5,6 +5,7 @@ on: branches-ignore: - "dependabot/**" pull_request: + workflow_dispatch: env: FORCE_COLOR: 2 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index aef1341ed..418232a66 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -5,6 +5,7 @@ on: branches-ignore: - "dependabot/**" pull_request: + workflow_dispatch: env: FORCE_COLOR: 2 diff --git a/.github/workflows/node-sass.yml b/.github/workflows/node-sass.yml index 36c4e1c18..8a958a7a9 100644 --- a/.github/workflows/node-sass.yml +++ b/.github/workflows/node-sass.yml @@ -5,6 +5,7 @@ on: branches-ignore: - "dependabot/**" pull_request: + workflow_dispatch: env: FORCE_COLOR: 2 diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index ab2f37694..bbd0a2448 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -4,6 +4,7 @@ on: push: branches: - main + workflow_dispatch: jobs: update_release_draft: -- cgit v1.2.3 From 68f226750db03bc26ed5ead6bb074804a4f63853 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 10 Dec 2021 16:40:32 +0200 Subject: JS tests: only test one Node.js version (#35481) --- .github/workflows/js.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to '.github') diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index 7af17ceb6..e9719000e 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -9,17 +9,13 @@ on: env: FORCE_COLOR: 2 + NODE: 16 jobs: run: - name: Node ${{ matrix.node }} + name: JS Tests runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - node: [12, 14, 16] - steps: - name: Clone repository uses: actions/checkout@v2 @@ -27,7 +23,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v2 with: - node-version: ${{ matrix.node }} + node-version: ${{ env.NODE }} cache: npm - name: Install npm dependencies @@ -41,7 +37,6 @@ jobs: - name: Run Coveralls uses: coverallsapp/github-action@1.1.3 - if: matrix.node == 16 with: github-token: "${{ secrets.GITHUB_TOKEN }}" path-to-lcov: "./js/coverage/lcov.info" -- cgit v1.2.3 From 640542e6060c365c2e9cad7543822cf3d83045ae Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sat, 29 Jan 2022 14:42:56 +0200 Subject: Move linkinator to GitHub Actions. (#35573) * Move linkinator to GitHub Actions. * Remove `docs-linkinator` npm script since it's no longer used --- .github/workflows/docs.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index cdb2917d9..d06105061 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -30,5 +30,16 @@ jobs: - name: Install npm dependencies run: npm ci - - name: Test docs - run: npm run docs + - name: Build docs + run: npm run docs-build + + - name: Validate HTML + run: npm run docs-vnu + + - name: Run linkinator + uses: JustinBeckwith/linkinator-action@v1 + with: + paths: _site + recurse: true + verbosity: error + skip: "^(?!http://localhost)" -- cgit v1.2.3 From e1020a43a5f68c15d3292296b4014b9d384f1b6f Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 30 Jan 2022 16:39:30 +0200 Subject: Move cspell to Actions (#35593) * Move cspell to Actions * Remove the now unused `docs-spellcheck` npm script --- .github/workflows/cspell.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/cspell.yml (limited to '.github') diff --git a/.github/workflows/cspell.yml b/.github/workflows/cspell.yml new file mode 100644 index 000000000..6787888fe --- /dev/null +++ b/.github/workflows/cspell.yml @@ -0,0 +1,28 @@ +name: cspell + +on: + push: + branches-ignore: + - "dependabot/**" + pull_request: + workflow_dispatch: + +env: + FORCE_COLOR: 2 + NODE: 16 + +jobs: + cspell: + runs-on: ubuntu-latest + + steps: + - name: Clone repository + uses: actions/checkout@v2 + + - name: Run cspell + uses: streetsidesoftware/cspell-action@v1 + with: + config: ".cspell.json" + files: "**/*.md" + inline: error + incremental_files_only: false -- cgit v1.2.3 From 0804c0043f5bae586834a9b9ef1e2301e8452794 Mon Sep 17 00:00:00 2001 From: xrkffgg Date: Tue, 22 Feb 2022 15:55:29 +0800 Subject: CI: add issues-helper (#35846) --- .github/workflows/issue-close-require.yml | 19 +++++++++++++++++++ .github/workflows/issue-labeled.yml | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 .github/workflows/issue-close-require.yml create mode 100644 .github/workflows/issue-labeled.yml (limited to '.github') diff --git a/.github/workflows/issue-close-require.yml b/.github/workflows/issue-close-require.yml new file mode 100644 index 000000000..b251cd75e --- /dev/null +++ b/.github/workflows/issue-close-require.yml @@ -0,0 +1,19 @@ +name: Close Issue Awaiting Reply + +on: + schedule: + - cron: "0 0 * * *" + +jobs: + issue-close-require: + runs-on: ubuntu-latest + if: github.repository == 'twbs/bootstrap' + steps: + - name: awaiting reply + uses: actions-cool/issues-helper@v3 + with: + actions: "close-issues" + labels: "awaiting-reply" + inactive-day: 14 + body: | + As the issue was labeled with `awaiting-reply`, but there has been no response in 14 days, this issue will be closed. If you have any questions, you can comment/reply. diff --git a/.github/workflows/issue-labeled.yml b/.github/workflows/issue-labeled.yml new file mode 100644 index 000000000..74c194679 --- /dev/null +++ b/.github/workflows/issue-labeled.yml @@ -0,0 +1,19 @@ +name: Issue Labeled + +on: + issues: + types: [labeled] + +jobs: + issue-labeled: + if: github.repository == 'twbs/bootstrap' + runs-on: ubuntu-latest + steps: + - name: awaiting reply + if: github.event.label.name == 'awaiting-reply' + uses: actions-cool/issues-helper@v3 + with: + actions: "create-comment" + token: ${{ secrets.GITHUB_TOKEN }} + body: | + Hello @${{ github.event.issue.user.login }}. Bug reports must include a **live demo** of the issue. Per our [contributing guidelines](https://github.com/twbs/bootstrap/blob/main/.github/CONTRIBUTING.md), please create a reduced test case on [CodePen](https://codepen.io/) or [JS Bin](https://jsbin.com/) and report back with your link, Bootstrap version, and specific browser and Operating System details. -- cgit v1.2.3 From 0cf36335d66bf47e03587f798cf3fc5666eb7994 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 26 Feb 2022 11:17:42 -0800 Subject: Update release-drafter.yml --- .github/release-drafter.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.github') diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 5d0f45de8..0289984be 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -7,6 +7,9 @@ categories: - title: '❗ Breaking Changes' labels: - 'breaking-change' + - title: '🚀 Highlights' + labels: + - 'release-highlight' - title: '🚀 Features' labels: - 'new-feature' -- cgit v1.2.3 From 5051bbb82df37da51a4f833dc6de692f9e5df701 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Mar 2022 15:19:34 +0200 Subject: Bump actions/setup-node from 2 to 3 (#35925) Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/browserstack.yml | 2 +- .github/workflows/bundlewatch.yml | 2 +- .github/workflows/css.yml | 2 +- .github/workflows/docs.yml | 2 +- .github/workflows/js.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/node-sass.yml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) (limited to '.github') diff --git a/.github/workflows/browserstack.yml b/.github/workflows/browserstack.yml index 0a3426e80..bf6f546d4 100644 --- a/.github/workflows/browserstack.yml +++ b/.github/workflows/browserstack.yml @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@v2 - name: Set up Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: "${{ env.NODE }}" cache: npm diff --git a/.github/workflows/bundlewatch.yml b/.github/workflows/bundlewatch.yml index 14deaa97f..6fdd8e11d 100644 --- a/.github/workflows/bundlewatch.yml +++ b/.github/workflows/bundlewatch.yml @@ -20,7 +20,7 @@ jobs: uses: actions/checkout@v2 - name: Set up Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: "${{ env.NODE }}" cache: npm diff --git a/.github/workflows/css.yml b/.github/workflows/css.yml index 0059dc44d..29e0e3b25 100644 --- a/.github/workflows/css.yml +++ b/.github/workflows/css.yml @@ -20,7 +20,7 @@ jobs: uses: actions/checkout@v2 - name: Set up Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: "${{ env.NODE }}" cache: npm diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d06105061..ec4378459 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -20,7 +20,7 @@ jobs: uses: actions/checkout@v2 - name: Set up Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: "${{ env.NODE }}" cache: npm diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index e9719000e..f2357d3cb 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -21,7 +21,7 @@ jobs: uses: actions/checkout@v2 - name: Set up Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: ${{ env.NODE }} cache: npm diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 418232a66..0b7a3b203 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,7 +20,7 @@ jobs: uses: actions/checkout@v2 - name: Set up Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: "${{ env.NODE }}" cache: npm diff --git a/.github/workflows/node-sass.yml b/.github/workflows/node-sass.yml index 8a958a7a9..72f1dfec9 100644 --- a/.github/workflows/node-sass.yml +++ b/.github/workflows/node-sass.yml @@ -20,7 +20,7 @@ jobs: uses: actions/checkout@v2 - name: Set up Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: "${{ env.NODE }}" -- cgit v1.2.3 From c766904aa27df2b5353cac5657bd044b885522d4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Mar 2022 16:51:46 +0200 Subject: Bump actions/checkout from 2 to 3 (#35933) Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR --- .github/workflows/browserstack.yml | 2 +- .github/workflows/bundlewatch.yml | 2 +- .github/workflows/codeql.yml | 2 +- .github/workflows/cspell.yml | 2 +- .github/workflows/css.yml | 2 +- .github/workflows/docs.yml | 2 +- .github/workflows/js.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/node-sass.yml | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) (limited to '.github') diff --git a/.github/workflows/browserstack.yml b/.github/workflows/browserstack.yml index bf6f546d4..425c56684 100644 --- a/.github/workflows/browserstack.yml +++ b/.github/workflows/browserstack.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Node.js uses: actions/setup-node@v3 diff --git a/.github/workflows/bundlewatch.yml b/.github/workflows/bundlewatch.yml index 6fdd8e11d..d1a174784 100644 --- a/.github/workflows/bundlewatch.yml +++ b/.github/workflows/bundlewatch.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Node.js uses: actions/setup-node@v3 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 2aa437417..3936ebd33 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -27,7 +27,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Initialize CodeQL uses: github/codeql-action/init@v1 diff --git a/.github/workflows/cspell.yml b/.github/workflows/cspell.yml index 6787888fe..7fd988dbb 100644 --- a/.github/workflows/cspell.yml +++ b/.github/workflows/cspell.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Run cspell uses: streetsidesoftware/cspell-action@v1 diff --git a/.github/workflows/css.yml b/.github/workflows/css.yml index 29e0e3b25..857a5672c 100644 --- a/.github/workflows/css.yml +++ b/.github/workflows/css.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Node.js uses: actions/setup-node@v3 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index ec4378459..f33413eb4 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Node.js uses: actions/setup-node@v3 diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index f2357d3cb..82616c574 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Node.js uses: actions/setup-node@v3 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0b7a3b203..816694ec2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Node.js uses: actions/setup-node@v3 diff --git a/.github/workflows/node-sass.yml b/.github/workflows/node-sass.yml index 72f1dfec9..465cee485 100644 --- a/.github/workflows/node-sass.yml +++ b/.github/workflows/node-sass.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Node.js uses: actions/setup-node@v3 -- cgit v1.2.3 From 314a9dd94995c731158ce743df980865da0bc25f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 10 May 2022 09:33:45 +0300 Subject: Bump github/codeql-action from 1 to 2 (#36230) Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v1...v2) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/codeql.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 3936ebd33..70be0563c 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -30,9 +30,9 @@ jobs: uses: actions/checkout@v3 - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: "javascript" - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2 -- cgit v1.2.3 From d17fe26dcfe371a3e78fabb4d34e6ba6e2c38a67 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 22 May 2022 17:47:01 -0700 Subject: Rewrite Parcel guide (#36411) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Rewrite Parcel guide * update to match latest webpack guide, add images * eslint-skip * Apply suggestions from code review Co-authored-by: Julien Déramond * match parcel to webpack, share footer, consistent use of no ; * Update site/content/docs/5.2/getting-started/parcel.md Co-authored-by: Julien Déramond * edits from code review * Add custom images * add image compression action from blog Co-authored-by: Julien Déramond --- .github/workflows/calibreapp-image-actions.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/calibreapp-image-actions.yml (limited to '.github') diff --git a/.github/workflows/calibreapp-image-actions.yml b/.github/workflows/calibreapp-image-actions.yml new file mode 100644 index 000000000..e23f5626e --- /dev/null +++ b/.github/workflows/calibreapp-image-actions.yml @@ -0,0 +1,24 @@ +name: Compress Images + +on: + pull_request: + paths: + - '**.jpg' + - '**.jpeg' + - '**.png' + - '**.webp' + +jobs: + build: + # Only run on Pull Requests within the same repository, and not from forks. + if: github.event.pull_request.head.repo.full_name == github.repository + name: calibreapp/image-actions + runs-on: ubuntu-latest + steps: + - name: Checkout Repo + uses: actions/checkout@v3 + + - name: Compress Images + uses: calibreapp/image-actions@1.1.0 + with: + githubToken: ${{ secrets.GITHUB_TOKEN }} -- cgit v1.2.3 From 83cb588f949e45f1e299c7757b4ca6ec7213dc22 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 31 May 2022 17:52:57 +0300 Subject: Bump streetsidesoftware/cspell-action from 1 to 2 (#36473) Bumps [streetsidesoftware/cspell-action](https://github.com/streetsidesoftware/cspell-action) from 1 to 2. - [Release notes](https://github.com/streetsidesoftware/cspell-action/releases) - [Changelog](https://github.com/streetsidesoftware/cspell-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/streetsidesoftware/cspell-action/compare/v1...v2) --- updated-dependencies: - dependency-name: streetsidesoftware/cspell-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR --- .github/workflows/cspell.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/cspell.yml b/.github/workflows/cspell.yml index 7fd988dbb..3751ad339 100644 --- a/.github/workflows/cspell.yml +++ b/.github/workflows/cspell.yml @@ -20,7 +20,7 @@ jobs: uses: actions/checkout@v3 - name: Run cspell - uses: streetsidesoftware/cspell-action@v1 + uses: streetsidesoftware/cspell-action@v2 with: config: ".cspell.json" files: "**/*.md" -- cgit v1.2.3 From eea1b1e1fd04596265cad9d8036a73d20c7a3c5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Wed, 22 Jun 2022 22:53:28 +0200 Subject: Use 'needs-example' label to trigger live demo bot message (#36624) --- .github/workflows/issue-labeled.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/issue-labeled.yml b/.github/workflows/issue-labeled.yml index 74c194679..3a1cfa9b6 100644 --- a/.github/workflows/issue-labeled.yml +++ b/.github/workflows/issue-labeled.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: awaiting reply - if: github.event.label.name == 'awaiting-reply' + if: github.event.label.name == 'needs-example' uses: actions-cool/issues-helper@v3 with: actions: "create-comment" -- cgit v1.2.3 From a396d9cd12d11af7a337cb38f957aa078b7ede99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Thu, 7 Jul 2022 21:42:08 +0200 Subject: Replace JS Bin refs by CodePen or StackBlitz references --- .github/CONTRIBUTING.md | 2 +- .github/workflows/issue-labeled.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index be4ad836d..476fddb91 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -69,7 +69,7 @@ Guidelines for bug reports: 3. **Isolate the problem** — ideally create a [reduced test case](https://css-tricks.com/reduced-test-cases/) and a live example. - [This JS Bin](https://jsbin.com/lolome/edit?html,output) is a helpful template. + These [v4 CodePen](https://codepen.io/team/bootstrap/pen/yLabNQL) and [v5 CodePen](https://codepen.io/team/bootstrap/pen/qBamdLj) are helpful templates. A good bug report shouldn't leave others needing to chase you up for more diff --git a/.github/workflows/issue-labeled.yml b/.github/workflows/issue-labeled.yml index 3a1cfa9b6..fac58493b 100644 --- a/.github/workflows/issue-labeled.yml +++ b/.github/workflows/issue-labeled.yml @@ -16,4 +16,4 @@ jobs: actions: "create-comment" token: ${{ secrets.GITHUB_TOKEN }} body: | - Hello @${{ github.event.issue.user.login }}. Bug reports must include a **live demo** of the issue. Per our [contributing guidelines](https://github.com/twbs/bootstrap/blob/main/.github/CONTRIBUTING.md), please create a reduced test case on [CodePen](https://codepen.io/) or [JS Bin](https://jsbin.com/) and report back with your link, Bootstrap version, and specific browser and Operating System details. + Hello @${{ github.event.issue.user.login }}. Bug reports must include a **live demo** of the issue. Per our [contributing guidelines](https://github.com/twbs/bootstrap/blob/main/.github/CONTRIBUTING.md), please create a reduced test case on [CodePen](https://codepen.io/) or [StackBlitz](https://stackblitz.com/) and report back with your link, Bootstrap version, and specific browser and Operating System details. -- cgit v1.2.3 From 00aa1a5c6e04629955ee45780b86f6ce8fd48ebf Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 25 Jul 2022 16:47:14 -0600 Subject: Remove Slack from site and repo docs (#36825) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Remove Slack from site and repo docs * Apply suggestions from code review Co-authored-by: Julien Déramond Co-authored-by: Julien Déramond --- .github/CONTRIBUTING.md | 4 +--- .github/SUPPORT.md | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to '.github') diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 476fddb91..c7211e689 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -18,9 +18,7 @@ the preferred channel for [bug reports](#bug-reports), [features requests](#feat and [submitting pull requests](#pull-requests), but please respect the following restrictions: -* Please **do not** use the issue tracker for personal support requests. Stack - Overflow ([`bootstrap-5`](https://stackoverflow.com/questions/tagged/bootstrap-5) tag), - [Slack](https://bootstrap-slack.herokuapp.com/) or [IRC](/README.md#community) are better places to get help. +* Please **do not** use the issue tracker for personal support requests. Stack Overflow ([`bootstrap-5`](https://stackoverflow.com/questions/tagged/bootstrap-5) tag), [our GitHub Discussions](https://github.com/twbs/bootstrap/discussions) or [IRC](/README.md#community) are better places to get help. * Please **do not** derail or troll issues. Keep the discussion on topic and respect the opinions of others. diff --git a/.github/SUPPORT.md b/.github/SUPPORT.md index a4739f589..26b3be42c 100644 --- a/.github/SUPPORT.md +++ b/.github/SUPPORT.md @@ -6,6 +6,6 @@ See the [contributing guidelines](CONTRIBUTING.md) for sharing bug reports. For general troubleshooting or help getting started: -- Join [the official Slack room](https://bootstrap-slack.herokuapp.com/). +- Ask and explore [our GitHub Discussions](https://github.com/twbs/bootstrap/discussions). - Chat with fellow Bootstrappers in IRC. On the `irc.libera.chat` server, in the `#bootstrap` channel. - Ask and explore Stack Overflow with the [`bootstrap-5`](https://stackoverflow.com/questions/tagged/bootstrap-5) tag. -- cgit v1.2.3 From 8da10bb1be424dd42cf5944f124fc8f3245a0cfe Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 23 Sep 2022 09:44:10 +0200 Subject: Add PR template (#35079) Co-authored-by: XhmikosR Co-authored-by: GeoSot Co-authored-by: julien-deramond --- .github/PULL_REQUEST_TEMPLATE.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/PULL_REQUEST_TEMPLATE.md (limited to '.github') diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 000000000..4675f7007 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,38 @@ +### Description + + + +### Motivation & Context + + + +### Type of changes + + + +- [ ] Bug fix (non-breaking change which fixes an issue) +- [ ] New feature (non-breaking change which adds functionality) +- [ ] Refactoring (non-breaking change) +- [ ] Breaking change (fix or feature that would change existing functionality) + +### Checklist + + + + +- [ ] I have read the [contributing guidelines](https://github.com/twbs/bootstrap/blob/main/.github/CONTRIBUTING.md) +- [ ] My code follows the code style of the project _(using `npm run lint`)_ +- [ ] My change introduces changes to the documentation +- [ ] I have updated the documentation accordingly +- [ ] I have added tests to cover my changes +- [ ] All new and existing tests passed + +#### Live previews + + + +* https://deploy-preview-{your pr number}--twbs-bootstrap.netlify.app/ + +### Related issues + + -- cgit v1.2.3 From c40495cbf8f8675a882c0644f4f9bf0a4e46a957 Mon Sep 17 00:00:00 2001 From: Abdul Samad Siddiqui <94792103+samadpls@users.noreply.github.com> Date: Fri, 14 Oct 2022 22:16:21 +0500 Subject: Update PULL_REQUEST_TEMPLATE.md (#37324) --- .github/PULL_REQUEST_TEMPLATE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 4675f7007..5f5128375 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -31,7 +31,7 @@ -* https://deploy-preview-{your pr number}--twbs-bootstrap.netlify.app/ +- https://deploy-preview-{your_pr_number}--twbs-bootstrap.netlify.app/ ### Related issues -- cgit v1.2.3 From 7166e95388be3797233e88f89a80c3b666c42851 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 25 Oct 2022 21:37:36 +0300 Subject: Markdownlint fixes (#37255) --- .github/CONTRIBUTING.md | 18 +++++++++--------- .github/PULL_REQUEST_TEMPLATE.md | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to '.github') diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index c7211e689..446344580 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -18,16 +18,16 @@ the preferred channel for [bug reports](#bug-reports), [features requests](#feat and [submitting pull requests](#pull-requests), but please respect the following restrictions: -* Please **do not** use the issue tracker for personal support requests. Stack Overflow ([`bootstrap-5`](https://stackoverflow.com/questions/tagged/bootstrap-5) tag), [our GitHub Discussions](https://github.com/twbs/bootstrap/discussions) or [IRC](/README.md#community) are better places to get help. +- Please **do not** use the issue tracker for personal support requests. Stack Overflow ([`bootstrap-5`](https://stackoverflow.com/questions/tagged/bootstrap-5) tag), [our GitHub Discussions](https://github.com/twbs/bootstrap/discussions) or [IRC](/README.md#community) are better places to get help. -* Please **do not** derail or troll issues. Keep the discussion on topic and +- Please **do not** derail or troll issues. Keep the discussion on topic and respect the opinions of others. -* Please **do not** post comments consisting solely of "+1" or ":thumbsup:". +- Please **do not** post comments consisting solely of "+1" or ":thumbsup:". Use [GitHub's "reactions" feature](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) instead. We reserve the right to delete comments which violate this rule. -* Please **do not** open issues regarding the official themes offered on . +- Please **do not** open issues regarding the official themes offered on . Instead, please email any questions or feedback regarding those themes to `themes AT getbootstrap DOT com`. @@ -101,16 +101,16 @@ Sometimes bugs reported to us are actually caused by bugs in the browser(s) them | Vendor(s) | Browser(s) | Rendering engine | Bug reporting website(s) | Notes | | ------------- | ---------------------------- | ---------------- | ------------------------------------------------------ | -------------------------------------------------------- | -| Mozilla | Firefox | Gecko | https://bugzilla.mozilla.org/enter_bug.cgi | "Core" is normally the right product option to choose. | -| Apple | Safari | WebKit | https://bugs.webkit.org/enter_bug.cgi?product=WebKit | In Apple's bug reporter, choose "Safari" as the product. | -| Google, Opera | Chrome, Chromium, Opera v15+ | Blink | https://bugs.chromium.org/p/chromium/issues/list | Click the "New issue" button. | -| Microsoft | Edge | Blink | https://developer.microsoft.com/en-us/microsoft-edge/ | Go to "Help > Send Feedback" from the browser | +| Mozilla | Firefox | Gecko | | "Core" is normally the right product option to choose. | +| Apple | Safari | WebKit | | In Apple's bug reporter, choose "Safari" as the product. | +| Google, Opera | Chrome, Chromium, Opera v15+ | Blink | | Click the "New issue" button. | +| Microsoft | Edge | Blink | | Go to "Help > Send Feedback" from the browser | ## Feature requests Feature requests are welcome. But take a moment to find out whether your idea -fits with the scope and aims of the project. It's up to *you* to make a strong +fits with the scope and aims of the project. It's up to _you_ to make a strong case to convince the project's developers of the merits of this feature. Please provide as much detail and context as possible. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 5f5128375..98e45c55a 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -31,7 +31,7 @@ -- https://deploy-preview-{your_pr_number}--twbs-bootstrap.netlify.app/ +- ### Related issues -- cgit v1.2.3 From 11f5d28db62453b0f4e4325617b4b61250c51f01 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 9 Nov 2022 09:21:55 +0200 Subject: CI: remove git credentials after checkout (#37459) --- .github/workflows/browserstack.yml | 2 ++ .github/workflows/bundlewatch.yml | 2 ++ .github/workflows/calibreapp-image-actions.yml | 2 ++ .github/workflows/codeql.yml | 2 ++ .github/workflows/cspell.yml | 2 ++ .github/workflows/css.yml | 2 ++ .github/workflows/docs.yml | 2 ++ .github/workflows/js.yml | 2 ++ .github/workflows/lint.yml | 2 ++ .github/workflows/node-sass.yml | 2 ++ 10 files changed, 20 insertions(+) (limited to '.github') diff --git a/.github/workflows/browserstack.yml b/.github/workflows/browserstack.yml index 425c56684..ab03e2de7 100644 --- a/.github/workflows/browserstack.yml +++ b/.github/workflows/browserstack.yml @@ -17,6 +17,8 @@ jobs: steps: - name: Clone repository uses: actions/checkout@v3 + with: + persist-credentials: false - name: Set up Node.js uses: actions/setup-node@v3 diff --git a/.github/workflows/bundlewatch.yml b/.github/workflows/bundlewatch.yml index d1a174784..1783fc48b 100644 --- a/.github/workflows/bundlewatch.yml +++ b/.github/workflows/bundlewatch.yml @@ -18,6 +18,8 @@ jobs: steps: - name: Clone repository uses: actions/checkout@v3 + with: + persist-credentials: false - name: Set up Node.js uses: actions/setup-node@v3 diff --git a/.github/workflows/calibreapp-image-actions.yml b/.github/workflows/calibreapp-image-actions.yml index e23f5626e..21df1f626 100644 --- a/.github/workflows/calibreapp-image-actions.yml +++ b/.github/workflows/calibreapp-image-actions.yml @@ -17,6 +17,8 @@ jobs: steps: - name: Checkout Repo uses: actions/checkout@v3 + with: + persist-credentials: false - name: Compress Images uses: calibreapp/image-actions@1.1.0 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 70be0563c..6144dd24d 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -28,6 +28,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 + with: + persist-credentials: false - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/cspell.yml b/.github/workflows/cspell.yml index 3751ad339..ea753d65f 100644 --- a/.github/workflows/cspell.yml +++ b/.github/workflows/cspell.yml @@ -18,6 +18,8 @@ jobs: steps: - name: Clone repository uses: actions/checkout@v3 + with: + persist-credentials: false - name: Run cspell uses: streetsidesoftware/cspell-action@v2 diff --git a/.github/workflows/css.yml b/.github/workflows/css.yml index 857a5672c..c271ddd51 100644 --- a/.github/workflows/css.yml +++ b/.github/workflows/css.yml @@ -18,6 +18,8 @@ jobs: steps: - name: Clone repository uses: actions/checkout@v3 + with: + persist-credentials: false - name: Set up Node.js uses: actions/setup-node@v3 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index f33413eb4..a4c58175b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -18,6 +18,8 @@ jobs: steps: - name: Clone repository uses: actions/checkout@v3 + with: + persist-credentials: false - name: Set up Node.js uses: actions/setup-node@v3 diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index 82616c574..fc34b7c21 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -19,6 +19,8 @@ jobs: steps: - name: Clone repository uses: actions/checkout@v3 + with: + persist-credentials: false - name: Set up Node.js uses: actions/setup-node@v3 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 816694ec2..179f86991 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,6 +18,8 @@ jobs: steps: - name: Clone repository uses: actions/checkout@v3 + with: + persist-credentials: false - name: Set up Node.js uses: actions/setup-node@v3 diff --git a/.github/workflows/node-sass.yml b/.github/workflows/node-sass.yml index 465cee485..89a59d4f7 100644 --- a/.github/workflows/node-sass.yml +++ b/.github/workflows/node-sass.yml @@ -18,6 +18,8 @@ jobs: steps: - name: Clone repository uses: actions/checkout@v3 + with: + persist-credentials: false - name: Set up Node.js uses: actions/setup-node@v3 -- cgit v1.2.3 From 8387827c131678f191c561cf5831475473dd88d1 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sat, 12 Nov 2022 13:09:35 +0200 Subject: Update CodeQL Action (#37481) --- .github/workflows/codeql.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 6144dd24d..3e2f6f34d 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -7,7 +7,6 @@ on: - v4-dev - "!dependabot/**" pull_request: - # The branches below must be a subset of the branches above branches: - main - v4-dev @@ -35,6 +34,12 @@ jobs: uses: github/codeql-action/init@v2 with: languages: "javascript" + queries: +security-and-quality + + - name: Autobuild + uses: github/codeql-action/autobuild@v2 - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 + with: + category: "/language:javascript" -- cgit v1.2.3 From b3b6728c5fa03cd4eb535a444a14d73684713dd6 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 13 Nov 2022 16:03:00 +0200 Subject: cspell.yml: remove unused NODE environment variable --- .github/workflows/cspell.yml | 1 - 1 file changed, 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/cspell.yml b/.github/workflows/cspell.yml index ea753d65f..f79ffdb81 100644 --- a/.github/workflows/cspell.yml +++ b/.github/workflows/cspell.yml @@ -9,7 +9,6 @@ on: env: FORCE_COLOR: 2 - NODE: 16 jobs: cspell: -- cgit v1.2.3 From 1a33235adce370dcf36c96d9509e7ce64beaf660 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 13 Nov 2022 16:19:29 +0200 Subject: CI: switch to Node.js 18 LTS (#37461) --- .github/workflows/browserstack.yml | 2 +- .github/workflows/bundlewatch.yml | 2 +- .github/workflows/css.yml | 2 +- .github/workflows/docs.yml | 2 +- .github/workflows/js.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/node-sass.yml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) (limited to '.github') diff --git a/.github/workflows/browserstack.yml b/.github/workflows/browserstack.yml index ab03e2de7..918e0a152 100644 --- a/.github/workflows/browserstack.yml +++ b/.github/workflows/browserstack.yml @@ -6,7 +6,7 @@ on: env: FORCE_COLOR: 2 - NODE: 16 + NODE: 18 jobs: browserstack: diff --git a/.github/workflows/bundlewatch.yml b/.github/workflows/bundlewatch.yml index 1783fc48b..8159ae2da 100644 --- a/.github/workflows/bundlewatch.yml +++ b/.github/workflows/bundlewatch.yml @@ -9,7 +9,7 @@ on: env: FORCE_COLOR: 2 - NODE: 16 + NODE: 18 jobs: bundlewatch: diff --git a/.github/workflows/css.yml b/.github/workflows/css.yml index c271ddd51..68323a975 100644 --- a/.github/workflows/css.yml +++ b/.github/workflows/css.yml @@ -9,7 +9,7 @@ on: env: FORCE_COLOR: 2 - NODE: 16 + NODE: 18 jobs: css: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a4c58175b..a47d82fda 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -9,7 +9,7 @@ on: env: FORCE_COLOR: 2 - NODE: 16 + NODE: 18 jobs: docs: diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index fc34b7c21..724f16c62 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -9,7 +9,7 @@ on: env: FORCE_COLOR: 2 - NODE: 16 + NODE: 18 jobs: run: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 179f86991..b804462c9 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,7 +9,7 @@ on: env: FORCE_COLOR: 2 - NODE: 16 + NODE: 18 jobs: lint: diff --git a/.github/workflows/node-sass.yml b/.github/workflows/node-sass.yml index 89a59d4f7..b0f9a72de 100644 --- a/.github/workflows/node-sass.yml +++ b/.github/workflows/node-sass.yml @@ -9,7 +9,7 @@ on: env: FORCE_COLOR: 2 - NODE: 16 + NODE: 18 jobs: css: -- cgit v1.2.3 From 9aff4cdc90b7c939cb468a742a8ac95cb4d0ad97 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Mon, 14 Nov 2022 18:40:09 +0200 Subject: CodeQL: ignore dist folder (#37486) --- .github/codeql/codeql-config.yml | 3 +++ .github/workflows/codeql.yml | 1 + 2 files changed, 4 insertions(+) create mode 100644 .github/codeql/codeql-config.yml (limited to '.github') diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml new file mode 100644 index 000000000..957877282 --- /dev/null +++ b/.github/codeql/codeql-config.yml @@ -0,0 +1,3 @@ +name: "CodeQL config" +paths-ignore: + - dist diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 3e2f6f34d..98aa891c4 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -33,6 +33,7 @@ jobs: - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: + config-file: ./.github/codeql/codeql-config.yml languages: "javascript" queries: +security-and-quality -- cgit v1.2.3 From 471edac3d3cae51d415f03d941af1f27e72c9198 Mon Sep 17 00:00:00 2001 From: Varun Sharma Date: Fri, 16 Dec 2022 12:50:12 +0530 Subject: CI: Add GitHub token permissions for workflows (#36325) Co-authored-by: XhmikosR --- .github/workflows/browserstack.yml | 3 +++ .github/workflows/bundlewatch.yml | 3 +++ .github/workflows/cspell.yml | 7 +++++++ .github/workflows/css.yml | 3 +++ .github/workflows/docs.yml | 3 +++ .github/workflows/issue-close-require.yml | 7 +++++++ .github/workflows/issue-labeled.yml | 7 +++++++ .github/workflows/js.yml | 7 +++++++ .github/workflows/lint.yml | 3 +++ .github/workflows/node-sass.yml | 3 +++ .github/workflows/release-notes.yml | 7 +++++++ 11 files changed, 53 insertions(+) (limited to '.github') diff --git a/.github/workflows/browserstack.yml b/.github/workflows/browserstack.yml index 918e0a152..9a2fc91e5 100644 --- a/.github/workflows/browserstack.yml +++ b/.github/workflows/browserstack.yml @@ -8,6 +8,9 @@ env: FORCE_COLOR: 2 NODE: 18 +permissions: + contents: read + jobs: browserstack: runs-on: ubuntu-latest diff --git a/.github/workflows/bundlewatch.yml b/.github/workflows/bundlewatch.yml index 8159ae2da..2add86c49 100644 --- a/.github/workflows/bundlewatch.yml +++ b/.github/workflows/bundlewatch.yml @@ -11,6 +11,9 @@ env: FORCE_COLOR: 2 NODE: 18 +permissions: + contents: read + jobs: bundlewatch: runs-on: ubuntu-latest diff --git a/.github/workflows/cspell.yml b/.github/workflows/cspell.yml index f79ffdb81..1d946981c 100644 --- a/.github/workflows/cspell.yml +++ b/.github/workflows/cspell.yml @@ -10,8 +10,15 @@ on: env: FORCE_COLOR: 2 +permissions: + contents: read + jobs: cspell: + permissions: + # allow streetsidesoftware/cspell-action to fetch files for commits and PRs + contents: read + pull-requests: read runs-on: ubuntu-latest steps: diff --git a/.github/workflows/css.yml b/.github/workflows/css.yml index 68323a975..6bfde50af 100644 --- a/.github/workflows/css.yml +++ b/.github/workflows/css.yml @@ -11,6 +11,9 @@ env: FORCE_COLOR: 2 NODE: 18 +permissions: + contents: read + jobs: css: runs-on: ubuntu-latest diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a47d82fda..bdeae6043 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -11,6 +11,9 @@ env: FORCE_COLOR: 2 NODE: 18 +permissions: + contents: read + jobs: docs: runs-on: ubuntu-latest diff --git a/.github/workflows/issue-close-require.yml b/.github/workflows/issue-close-require.yml index b251cd75e..b5000d8b4 100644 --- a/.github/workflows/issue-close-require.yml +++ b/.github/workflows/issue-close-require.yml @@ -4,8 +4,15 @@ on: schedule: - cron: "0 0 * * *" +permissions: + contents: read + jobs: issue-close-require: + permissions: + # allow actions-cool/issues-helper to update issues and PRs + issues: write + pull-requests: write runs-on: ubuntu-latest if: github.repository == 'twbs/bootstrap' steps: diff --git a/.github/workflows/issue-labeled.yml b/.github/workflows/issue-labeled.yml index fac58493b..584879dd8 100644 --- a/.github/workflows/issue-labeled.yml +++ b/.github/workflows/issue-labeled.yml @@ -4,8 +4,15 @@ on: issues: types: [labeled] +permissions: + contents: read + jobs: issue-labeled: + permissions: + # allow actions-cool/issues-helper to update issues and PRs + issues: write + pull-requests: write if: github.repository == 'twbs/bootstrap' runs-on: ubuntu-latest steps: diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index 724f16c62..a8994b6cc 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -11,8 +11,15 @@ env: FORCE_COLOR: 2 NODE: 18 +permissions: + contents: read + jobs: run: + permissions: + # allow coverallsapp/github-action to create new checks issues and fetch code + checks: write + contents: read name: JS Tests runs-on: ubuntu-latest diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b804462c9..51ee18999 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,6 +11,9 @@ env: FORCE_COLOR: 2 NODE: 18 +permissions: + contents: read + jobs: lint: runs-on: ubuntu-latest diff --git a/.github/workflows/node-sass.yml b/.github/workflows/node-sass.yml index b0f9a72de..dc687ca46 100644 --- a/.github/workflows/node-sass.yml +++ b/.github/workflows/node-sass.yml @@ -11,6 +11,9 @@ env: FORCE_COLOR: 2 NODE: 18 +permissions: + contents: read + jobs: css: runs-on: ubuntu-latest diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index bbd0a2448..f620dd31d 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -6,8 +6,15 @@ on: - main workflow_dispatch: +permissions: + contents: read + jobs: update_release_draft: + permissions: + # allow release-drafter/release-drafter to create GitHub releases and add labels to PRs + contents: write + pull-requests: write runs-on: ubuntu-latest if: github.repository == 'twbs/bootstrap' steps: -- cgit v1.2.3 From f0ae5cceac1302d51cf62ffb180355bfc3300ae2 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 16 Dec 2022 09:22:18 +0200 Subject: CI: limit the on push triggers (#35574) Since now we have workflow_dispatch, we can trigger a workflow manually in case we don't have an open PR. Also, remove the custom `ci skip` code; it's supported natively for some time now: https://github.blog/changelog/2021-02-08-github-actions-skip-pull-request-and-push-workflows-with-skip-ci/ --- .github/workflows/browserstack.yml | 7 ++++++- .github/workflows/bundlewatch.yml | 4 ++-- .github/workflows/cspell.yml | 4 ++-- .github/workflows/css.yml | 4 ++-- .github/workflows/docs.yml | 4 ++-- .github/workflows/js.yml | 4 ++-- .github/workflows/lint.yml | 4 ++-- .github/workflows/node-sass.yml | 4 ++-- 8 files changed, 20 insertions(+), 15 deletions(-) (limited to '.github') diff --git a/.github/workflows/browserstack.yml b/.github/workflows/browserstack.yml index 9a2fc91e5..2a10dfc9d 100644 --- a/.github/workflows/browserstack.yml +++ b/.github/workflows/browserstack.yml @@ -2,6 +2,11 @@ name: BrowserStack on: push: + branches: + - main + pull_request: + branches: + - main workflow_dispatch: env: @@ -14,7 +19,7 @@ permissions: jobs: browserstack: runs-on: ubuntu-latest - if: github.repository == 'twbs/bootstrap' && (!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')) + if: github.repository == 'twbs/bootstrap' timeout-minutes: 30 steps: diff --git a/.github/workflows/bundlewatch.yml b/.github/workflows/bundlewatch.yml index 2add86c49..c02a37ed9 100644 --- a/.github/workflows/bundlewatch.yml +++ b/.github/workflows/bundlewatch.yml @@ -2,8 +2,8 @@ name: Bundlewatch on: push: - branches-ignore: - - "dependabot/**" + branches: + - main pull_request: workflow_dispatch: diff --git a/.github/workflows/cspell.yml b/.github/workflows/cspell.yml index 1d946981c..11788e3cc 100644 --- a/.github/workflows/cspell.yml +++ b/.github/workflows/cspell.yml @@ -2,8 +2,8 @@ name: cspell on: push: - branches-ignore: - - "dependabot/**" + branches: + - main pull_request: workflow_dispatch: diff --git a/.github/workflows/css.yml b/.github/workflows/css.yml index 6bfde50af..3ad8fef93 100644 --- a/.github/workflows/css.yml +++ b/.github/workflows/css.yml @@ -2,8 +2,8 @@ name: CSS on: push: - branches-ignore: - - "dependabot/**" + branches: + - main pull_request: workflow_dispatch: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index bdeae6043..2a684f618 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -2,8 +2,8 @@ name: Docs on: push: - branches-ignore: - - "dependabot/**" + branches: + - main pull_request: workflow_dispatch: diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index a8994b6cc..8dd5e2a10 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -2,8 +2,8 @@ name: JS Tests on: push: - branches-ignore: - - "dependabot/**" + branches: + - main pull_request: workflow_dispatch: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 51ee18999..fd62b418b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,8 +2,8 @@ name: Lint on: push: - branches-ignore: - - "dependabot/**" + branches: + - main pull_request: workflow_dispatch: diff --git a/.github/workflows/node-sass.yml b/.github/workflows/node-sass.yml index dc687ca46..fb4d4944c 100644 --- a/.github/workflows/node-sass.yml +++ b/.github/workflows/node-sass.yml @@ -2,8 +2,8 @@ name: CSS (node-sass) on: push: - branches-ignore: - - "dependabot/**" + branches: + - main pull_request: workflow_dispatch: -- cgit v1.2.3 From 71e2acef441ca099c6e29a762f86c913d3eacc90 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 16 Dec 2022 09:32:50 +0200 Subject: Revert "CI: limit the on push triggers (#35574)" (#37657) This reverts commit f0ae5cceac1302d51cf62ffb180355bfc3300ae2. --- .github/workflows/browserstack.yml | 7 +------ .github/workflows/bundlewatch.yml | 4 ++-- .github/workflows/cspell.yml | 4 ++-- .github/workflows/css.yml | 4 ++-- .github/workflows/docs.yml | 4 ++-- .github/workflows/js.yml | 4 ++-- .github/workflows/lint.yml | 4 ++-- .github/workflows/node-sass.yml | 4 ++-- 8 files changed, 15 insertions(+), 20 deletions(-) (limited to '.github') diff --git a/.github/workflows/browserstack.yml b/.github/workflows/browserstack.yml index 2a10dfc9d..9a2fc91e5 100644 --- a/.github/workflows/browserstack.yml +++ b/.github/workflows/browserstack.yml @@ -2,11 +2,6 @@ name: BrowserStack on: push: - branches: - - main - pull_request: - branches: - - main workflow_dispatch: env: @@ -19,7 +14,7 @@ permissions: jobs: browserstack: runs-on: ubuntu-latest - if: github.repository == 'twbs/bootstrap' + if: github.repository == 'twbs/bootstrap' && (!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')) timeout-minutes: 30 steps: diff --git a/.github/workflows/bundlewatch.yml b/.github/workflows/bundlewatch.yml index c02a37ed9..2add86c49 100644 --- a/.github/workflows/bundlewatch.yml +++ b/.github/workflows/bundlewatch.yml @@ -2,8 +2,8 @@ name: Bundlewatch on: push: - branches: - - main + branches-ignore: + - "dependabot/**" pull_request: workflow_dispatch: diff --git a/.github/workflows/cspell.yml b/.github/workflows/cspell.yml index 11788e3cc..1d946981c 100644 --- a/.github/workflows/cspell.yml +++ b/.github/workflows/cspell.yml @@ -2,8 +2,8 @@ name: cspell on: push: - branches: - - main + branches-ignore: + - "dependabot/**" pull_request: workflow_dispatch: diff --git a/.github/workflows/css.yml b/.github/workflows/css.yml index 3ad8fef93..6bfde50af 100644 --- a/.github/workflows/css.yml +++ b/.github/workflows/css.yml @@ -2,8 +2,8 @@ name: CSS on: push: - branches: - - main + branches-ignore: + - "dependabot/**" pull_request: workflow_dispatch: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2a684f618..bdeae6043 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -2,8 +2,8 @@ name: Docs on: push: - branches: - - main + branches-ignore: + - "dependabot/**" pull_request: workflow_dispatch: diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index 8dd5e2a10..a8994b6cc 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -2,8 +2,8 @@ name: JS Tests on: push: - branches: - - main + branches-ignore: + - "dependabot/**" pull_request: workflow_dispatch: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fd62b418b..51ee18999 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,8 +2,8 @@ name: Lint on: push: - branches: - - main + branches-ignore: + - "dependabot/**" pull_request: workflow_dispatch: diff --git a/.github/workflows/node-sass.yml b/.github/workflows/node-sass.yml index fb4d4944c..dc687ca46 100644 --- a/.github/workflows/node-sass.yml +++ b/.github/workflows/node-sass.yml @@ -2,8 +2,8 @@ name: CSS (node-sass) on: push: - branches: - - main + branches-ignore: + - "dependabot/**" pull_request: workflow_dispatch: -- cgit v1.2.3 From 3e8c8868eb7e920f96cdfffd2452f2e8591f8390 Mon Sep 17 00:00:00 2001 From: Joyce Date: Fri, 16 Dec 2022 04:34:54 -0300 Subject: Enable OpenSSF Scorecard Github Action and Badge (#37402) Signed-off-by: Joyce Brum Co-authored-by: XhmikosR --- .github/workflows/scorecards.yml | 65 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 .github/workflows/scorecards.yml (limited to '.github') diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml new file mode 100644 index 000000000..19ceb8e0d --- /dev/null +++ b/.github/workflows/scorecards.yml @@ -0,0 +1,65 @@ +name: Scorecards supply-chain security + +on: + # Only the default branch is supported. + branch_protection_rule: + push: + branches: + - main + schedule: + - cron: "16 10 * * 6" + workflow_dispatch: + +# Declare default permissions as read only. +permissions: read-all + +jobs: + analysis: + name: Scorecards analysis + runs-on: ubuntu-latest + permissions: + # Needed to upload the results to code-scanning dashboard. + security-events: write + # Used to receive a badge. + id-token: write + # Needs for private repositories. + contents: read + actions: read + + steps: + - name: Clone repository + uses: actions/checkout@v3 + with: + persist-credentials: false + + - name: Run analysis + uses: ossf/scorecard-action@v2.1.0 + with: + results_file: results.sarif + results_format: sarif + # (Optional) Read-only PAT token. Uncomment the `repo_token` line below if: + # - you want to enable the Branch-Protection check on a *public* repository, or + # - you are installing Scorecards on a *private* repository + # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat. + # repo_token: ${{ secrets.SCORECARD_READ_TOKEN }} + + # Publish the results for public repositories to enable scorecard badges. For more details, see + # https://github.com/ossf/scorecard-action#publishing-results. + # For private repositories, `publish_results` will automatically be set to `false`, regardless + # of the value entered here. + publish_results: true + + # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF + # format to the repository Actions tab. + - name: Upload artifact + uses: actions/upload-artifact@v3 + with: + name: SARIF file + path: results.sarif + retention-days: 5 + + # Upload the results to GitHub's code scanning dashboard. + - name: Upload to code-scanning + uses: github/codeql-action/upload-sarif@v1 + with: + sarif_file: results.sarif -- cgit v1.2.3 From 51ba329046530254c5069b47d2cf123046de15c6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 20 Dec 2022 21:45:51 +0200 Subject: Build(deps): Bump ossf/scorecard-action from 2.1.0 to 2.1.1 (#37680) Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.1.0 to 2.1.1. - [Release notes](https://github.com/ossf/scorecard-action/releases) - [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md) - [Commits](https://github.com/ossf/scorecard-action/compare/v2.1.0...v2.1.1) --- updated-dependencies: - dependency-name: ossf/scorecard-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/scorecards.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml index 19ceb8e0d..01977ac1c 100644 --- a/.github/workflows/scorecards.yml +++ b/.github/workflows/scorecards.yml @@ -33,7 +33,7 @@ jobs: persist-credentials: false - name: Run analysis - uses: ossf/scorecard-action@v2.1.0 + uses: ossf/scorecard-action@v2.1.1 with: results_file: results.sarif results_format: sarif -- cgit v1.2.3 From 33ccbc23e383d9b5a9c53379791892cc73d72f21 Mon Sep 17 00:00:00 2001 From: Romaric Pascal Date: Sat, 24 Dec 2022 23:29:20 +0100 Subject: SCSS testing of the utilities API (#36029) * Set up CSS testing using sass-true and mocha Use mocha to handle the heavy lifting of finding tests and running them. Mocha is made to look directly for SCSS files which are compiled thanks to Node's require.extensions mechanism. * Add CSS tests to workflow * Add tests for the generate-utility mixin * Add tests for utilities generation * Fix linting issues * Fix test contents Don't know why the whole utilities.test.scss ended up copied in the api.test.scss * Remove unnecessary entry in package.json * Move to Jasmine for running the tests * Move running of CSS tests before CSS build * Update linting set up Add exceptions for test files in stylelint * Remove irrelevant option for sass-true * Fix linting issues after rebase * Add color mode tests * Fix linter Co-authored-by: Mark Otto --- .github/workflows/css.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.github') diff --git a/.github/workflows/css.yml b/.github/workflows/css.yml index 6bfde50af..c3445eda8 100644 --- a/.github/workflows/css.yml +++ b/.github/workflows/css.yml @@ -33,5 +33,8 @@ jobs: - name: Install npm dependencies run: npm ci + - name: Run CSS tests + run: npm run css-test + - name: Build CSS run: npm run css -- cgit v1.2.3 From 8ba98bc9f09d0abd69044a20f5505f485096ae6e Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 25 Dec 2022 12:41:54 +0200 Subject: CI: test CSS after build (#37714) --- .github/workflows/css.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.github') diff --git a/.github/workflows/css.yml b/.github/workflows/css.yml index c3445eda8..f8da71b31 100644 --- a/.github/workflows/css.yml +++ b/.github/workflows/css.yml @@ -33,8 +33,8 @@ jobs: - name: Install npm dependencies run: npm ci - - name: Run CSS tests - run: npm run css-test - - name: Build CSS run: npm run css + + - name: Run CSS tests + run: npm run css-test -- cgit v1.2.3 From 406ab2abe66415f51dbe40079ec8c042854567c7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Dec 2022 23:45:07 +0200 Subject: Build(deps): Bump ossf/scorecard-action from 2.1.1 to 2.1.2 (#37728) Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.1.1 to 2.1.2. - [Release notes](https://github.com/ossf/scorecard-action/releases) - [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md) - [Commits](https://github.com/ossf/scorecard-action/compare/v2.1.1...v2.1.2) --- updated-dependencies: - dependency-name: ossf/scorecard-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/scorecards.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml index 01977ac1c..0f40cf228 100644 --- a/.github/workflows/scorecards.yml +++ b/.github/workflows/scorecards.yml @@ -33,7 +33,7 @@ jobs: persist-credentials: false - name: Run analysis - uses: ossf/scorecard-action@v2.1.1 + uses: ossf/scorecard-action@v2.1.2 with: results_file: results.sarif results_format: sarif -- cgit v1.2.3 From 97576345b16751a3f4f54afa5aaa581cff323c89 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 28 Dec 2022 23:49:57 +0200 Subject: Remove scorecards (#37751) --- .github/workflows/scorecards.yml | 65 ---------------------------------------- 1 file changed, 65 deletions(-) delete mode 100644 .github/workflows/scorecards.yml (limited to '.github') diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml deleted file mode 100644 index 0f40cf228..000000000 --- a/.github/workflows/scorecards.yml +++ /dev/null @@ -1,65 +0,0 @@ -name: Scorecards supply-chain security - -on: - # Only the default branch is supported. - branch_protection_rule: - push: - branches: - - main - schedule: - - cron: "16 10 * * 6" - workflow_dispatch: - -# Declare default permissions as read only. -permissions: read-all - -jobs: - analysis: - name: Scorecards analysis - runs-on: ubuntu-latest - permissions: - # Needed to upload the results to code-scanning dashboard. - security-events: write - # Used to receive a badge. - id-token: write - # Needs for private repositories. - contents: read - actions: read - - steps: - - name: Clone repository - uses: actions/checkout@v3 - with: - persist-credentials: false - - - name: Run analysis - uses: ossf/scorecard-action@v2.1.2 - with: - results_file: results.sarif - results_format: sarif - # (Optional) Read-only PAT token. Uncomment the `repo_token` line below if: - # - you want to enable the Branch-Protection check on a *public* repository, or - # - you are installing Scorecards on a *private* repository - # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat. - # repo_token: ${{ secrets.SCORECARD_READ_TOKEN }} - - # Publish the results for public repositories to enable scorecard badges. For more details, see - # https://github.com/ossf/scorecard-action#publishing-results. - # For private repositories, `publish_results` will automatically be set to `false`, regardless - # of the value entered here. - publish_results: true - - # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF - # format to the repository Actions tab. - - name: Upload artifact - uses: actions/upload-artifact@v3 - with: - name: SARIF file - path: results.sarif - retention-days: 5 - - # Upload the results to GitHub's code scanning dashboard. - - name: Upload to code-scanning - uses: github/codeql-action/upload-sarif@v1 - with: - sarif_file: results.sarif -- cgit v1.2.3 From 8a725016fe0978244c5cd45ce4bdb19b1b91e669 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 28 Feb 2023 10:56:37 +0000 Subject: Build(deps): Bump coverallsapp/github-action from 1.1.3 to 1.2.2 Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 1.1.3 to 1.2.2. - [Release notes](https://github.com/coverallsapp/github-action/releases) - [Commits](https://github.com/coverallsapp/github-action/compare/1.1.3...v1.2.2) --- updated-dependencies: - dependency-name: coverallsapp/github-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index a8994b6cc..10d6da330 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -45,7 +45,7 @@ jobs: run: npm run js-test - name: Run Coveralls - uses: coverallsapp/github-action@1.1.3 + uses: coverallsapp/github-action@v1.2.2 with: github-token: "${{ secrets.GITHUB_TOKEN }}" path-to-lcov: "./js/coverage/lcov.info" -- cgit v1.2.3 From 2a9308b85520d4c55d0015bd6ef7a0fcf051a0ed Mon Sep 17 00:00:00 2001 From: "louismaxime.piton" Date: Wed, 8 Mar 2023 12:12:13 +0100 Subject: Update workflow --- .github/workflows/docs.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.github') diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index bdeae6043..4dcc794bb 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -41,6 +41,9 @@ jobs: - name: Validate HTML run: npm run docs-vnu + - name: Check for unused templates + run: npm run docs-check-unused-templates + - name: Run linkinator uses: JustinBeckwith/linkinator-action@v1 with: -- cgit v1.2.3 From ebcb6c4262ce33c51066e31100e7d83fe915bd39 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 14 Mar 2023 06:51:40 +0200 Subject: Build(deps): Bump coverallsapp/github-action from 1.2.2 to 1.2.4 (#38183) Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 1.2.2 to 1.2.4. - [Release notes](https://github.com/coverallsapp/github-action/releases) - [Commits](https://github.com/coverallsapp/github-action/compare/v1.2.2...v1.2.4) --- updated-dependencies: - dependency-name: coverallsapp/github-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index 10d6da330..642813a97 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -45,7 +45,7 @@ jobs: run: npm run js-test - name: Run Coveralls - uses: coverallsapp/github-action@v1.2.2 + uses: coverallsapp/github-action@v1.2.4 with: github-token: "${{ secrets.GITHUB_TOKEN }}" path-to-lcov: "./js/coverage/lcov.info" -- cgit v1.2.3 From ca6dfad43c4caa89c7240b7c42adab2e61120797 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 14 Mar 2023 09:09:48 +0200 Subject: Move --printUnusedTemplates in hugo scripts (#38227) --- .github/workflows/docs.yml | 3 --- 1 file changed, 3 deletions(-) (limited to '.github') diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 4dcc794bb..bdeae6043 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -41,9 +41,6 @@ jobs: - name: Validate HTML run: npm run docs-vnu - - name: Check for unused templates - run: npm run docs-check-unused-templates - - name: Run linkinator uses: JustinBeckwith/linkinator-action@v1 with: -- cgit v1.2.3 From 898cfc740d30ed11ad0492473d278f35713c9d67 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 14 Mar 2023 09:10:31 +0200 Subject: Update codeql.yml (#38225) --- .github/workflows/codeql.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to '.github') diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 98aa891c4..b1780ee34 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -12,7 +12,7 @@ on: - v4-dev - "!dependabot/**" schedule: - - cron: "0 2 * * 5" + - cron: "0 2 * * 4" workflow_dispatch: jobs: @@ -20,8 +20,6 @@ jobs: name: Analyze runs-on: ubuntu-latest permissions: - actions: read - contents: read security-events: write steps: -- cgit v1.2.3 From 43ec90ba56c53e6ebbece17d891c4ec1a3c92dce Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 21 Mar 2023 12:27:28 +0200 Subject: Update dependabot.yml --- .github/dependabot.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to '.github') diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 29135b400..f54ba8953 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,24 +1,23 @@ version: 2 updates: - - package-ecosystem: npm + - package-ecosystem: "github-actions" directory: "/" schedule: interval: weekly day: tuesday time: "12:00" timezone: Europe/Athens - open-pull-requests-limit: 10 + - package-ecosystem: npm + directory: "/" reviewers: - XhmikosR labels: - dependencies - v5 - versioning-strategy: increase - rebase-strategy: disabled - - package-ecosystem: "github-actions" - directory: "/" schedule: interval: weekly day: tuesday time: "12:00" timezone: Europe/Athens + versioning-strategy: increase + rebase-strategy: disabled -- cgit v1.2.3 From 7d0380520570b9ccc911119a025393e2e624115b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 Mar 2023 15:18:24 +0200 Subject: Build(deps): Bump coverallsapp/github-action from 1.2.4 to 2.0.0 (#38288) * Build(deps): Bump coverallsapp/github-action from 1.2.4 to 2.0.0 Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 1.2.4 to 2.0.0. - [Release notes](https://github.com/coverallsapp/github-action/releases) - [Commits](https://github.com/coverallsapp/github-action/compare/v1.2.4...v2.0.0) --- updated-dependencies: - dependency-name: coverallsapp/github-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Update js.yml --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR --- .github/workflows/js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index 642813a97..d24cff976 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -45,7 +45,7 @@ jobs: run: npm run js-test - name: Run Coveralls - uses: coverallsapp/github-action@v1.2.4 + uses: coverallsapp/github-action@v2 with: github-token: "${{ secrets.GITHUB_TOKEN }}" path-to-lcov: "./js/coverage/lcov.info" -- cgit v1.2.3 From c2671ecc2dc3baa904d79bb0b3da31be2f3ab85b Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 22 Mar 2023 09:03:51 +0200 Subject: CI: limit the on push triggers (#38291) --- .github/workflows/browserstack.yml | 4 +++- .github/workflows/bundlewatch.yml | 4 ++-- .github/workflows/cspell.yml | 4 ++-- .github/workflows/css.yml | 4 ++-- .github/workflows/docs.yml | 4 ++-- .github/workflows/js.yml | 4 ++-- .github/workflows/lint.yml | 4 ++-- .github/workflows/node-sass.yml | 4 ++-- 8 files changed, 17 insertions(+), 15 deletions(-) (limited to '.github') diff --git a/.github/workflows/browserstack.yml b/.github/workflows/browserstack.yml index 9a2fc91e5..f2a3d87a8 100644 --- a/.github/workflows/browserstack.yml +++ b/.github/workflows/browserstack.yml @@ -2,6 +2,8 @@ name: BrowserStack on: push: + branches: + - main workflow_dispatch: env: @@ -14,7 +16,7 @@ permissions: jobs: browserstack: runs-on: ubuntu-latest - if: github.repository == 'twbs/bootstrap' && (!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')) + if: github.repository == 'twbs/bootstrap' timeout-minutes: 30 steps: diff --git a/.github/workflows/bundlewatch.yml b/.github/workflows/bundlewatch.yml index 2add86c49..c02a37ed9 100644 --- a/.github/workflows/bundlewatch.yml +++ b/.github/workflows/bundlewatch.yml @@ -2,8 +2,8 @@ name: Bundlewatch on: push: - branches-ignore: - - "dependabot/**" + branches: + - main pull_request: workflow_dispatch: diff --git a/.github/workflows/cspell.yml b/.github/workflows/cspell.yml index 1d946981c..11788e3cc 100644 --- a/.github/workflows/cspell.yml +++ b/.github/workflows/cspell.yml @@ -2,8 +2,8 @@ name: cspell on: push: - branches-ignore: - - "dependabot/**" + branches: + - main pull_request: workflow_dispatch: diff --git a/.github/workflows/css.yml b/.github/workflows/css.yml index f8da71b31..66112a96c 100644 --- a/.github/workflows/css.yml +++ b/.github/workflows/css.yml @@ -2,8 +2,8 @@ name: CSS on: push: - branches-ignore: - - "dependabot/**" + branches: + - main pull_request: workflow_dispatch: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index bdeae6043..2a684f618 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -2,8 +2,8 @@ name: Docs on: push: - branches-ignore: - - "dependabot/**" + branches: + - main pull_request: workflow_dispatch: diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index d24cff976..805b1b7b1 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -2,8 +2,8 @@ name: JS Tests on: push: - branches-ignore: - - "dependabot/**" + branches: + - main pull_request: workflow_dispatch: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 51ee18999..fd62b418b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,8 +2,8 @@ name: Lint on: push: - branches-ignore: - - "dependabot/**" + branches: + - main pull_request: workflow_dispatch: diff --git a/.github/workflows/node-sass.yml b/.github/workflows/node-sass.yml index dc687ca46..fb4d4944c 100644 --- a/.github/workflows/node-sass.yml +++ b/.github/workflows/node-sass.yml @@ -2,8 +2,8 @@ name: CSS (node-sass) on: push: - branches-ignore: - - "dependabot/**" + branches: + - main pull_request: workflow_dispatch: -- cgit v1.2.3 From fdcb9b193ae19336ccbf03e6387524d3e1caece1 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 22 Mar 2023 09:22:37 +0200 Subject: Update browserstack.yml --- .github/workflows/browserstack.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/browserstack.yml b/.github/workflows/browserstack.yml index f2a3d87a8..0dce15107 100644 --- a/.github/workflows/browserstack.yml +++ b/.github/workflows/browserstack.yml @@ -3,7 +3,8 @@ name: BrowserStack on: push: branches: - - main + - "*" + - "!dependabot/**" workflow_dispatch: env: -- cgit v1.2.3 From 00fc712330b5b87e58370e6085b5426adf06b31a Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 22 Mar 2023 10:20:31 +0200 Subject: Update browserstack.yml (#38303) --- .github/workflows/browserstack.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/browserstack.yml b/.github/workflows/browserstack.yml index 0dce15107..e545d628a 100644 --- a/.github/workflows/browserstack.yml +++ b/.github/workflows/browserstack.yml @@ -3,7 +3,7 @@ name: BrowserStack on: push: branches: - - "*" + - "**" - "!dependabot/**" workflow_dispatch: -- cgit v1.2.3 From 92f9dda263e4a80a8b9a60574af20f610b6c6fa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Mon, 27 Mar 2023 17:34:14 +0200 Subject: Add a check for interpolation variables to node-sass workflow (#38283) Co-authored-by: XhmikosR --- .github/workflows/node-sass.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to '.github') diff --git a/.github/workflows/node-sass.yml b/.github/workflows/node-sass.yml index fb4d4944c..d83e3e70f 100644 --- a/.github/workflows/node-sass.yml +++ b/.github/workflows/node-sass.yml @@ -34,3 +34,15 @@ jobs: npx --package node-sass@latest node-sass --version npx --package node-sass@latest node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/ -o dist-sass/css/ ls -Al dist-sass/css + + # Check that there are no Sass variables (`$`) + - name: Check built CSS files + shell: bash + run: | + if [[ $(find dist-sass/css/ -name "*.css" | xargs grep -F "\$" | wc -l | bc) -eq 0 ]]; then + echo "All good, no Sass variables found" + exit 0 + else + echo "Found Sass variables!" + exit 1 + fi -- cgit v1.2.3 From 5e3dc587afddc91d035087b0fb73eca037f3c712 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Thu, 13 Apr 2023 08:47:56 +0200 Subject: node-sass workflow: improve error message when Sass vars are found (#38448) Co-authored-by: XhmikosR --- .github/workflows/node-sass.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to '.github') diff --git a/.github/workflows/node-sass.yml b/.github/workflows/node-sass.yml index d83e3e70f..c558e447a 100644 --- a/.github/workflows/node-sass.yml +++ b/.github/workflows/node-sass.yml @@ -35,14 +35,15 @@ jobs: npx --package node-sass@latest node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/ -o dist-sass/css/ ls -Al dist-sass/css - # Check that there are no Sass variables (`$`) - - name: Check built CSS files + - name: Check built CSS files for Sass variables shell: bash run: | - if [[ $(find dist-sass/css/ -name "*.css" | xargs grep -F "\$" | wc -l | bc) -eq 0 ]]; then - echo "All good, no Sass variables found" + SASS_VARS_FOUND=$(find "dist-sass/css/" -type f -name "*.css" -print0 | xargs -0 --no-run-if-empty grep -F "\$" || true) + if [[ -z "$SASS_VARS_FOUND" ]]; then + echo "All good, no Sass variables found!" exit 0 else - echo "Found Sass variables!" + echo "Found $(echo "$SASS_VARS_FOUND" | wc -l | bc) Sass variables:" + echo "$SASS_VARS_FOUND" exit 1 fi -- cgit v1.2.3 From 1a82228043ee7c9a1227e01f546d55f115e1a422 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Wed, 17 May 2023 12:04:48 +0200 Subject: Add 'Issues assignment' section to the Contributing Guidelines --- .github/CONTRIBUTING.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '.github') diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 446344580..d18210b28 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -31,6 +31,13 @@ restrictions: Instead, please email any questions or feedback regarding those themes to `themes AT getbootstrap DOT com`. +## Issues assignment + +The core team will be looking at the open issues, analyze them, and provide guidance on how to proceed. **Issues won't be assigned to anyone outside the core team.** However, contributors are welcome to participate in the discussion and provide their input on how to best solve the issue, and even submit a PR if they want to. Please wait that the issue is ready to be worked on before submitting a PR, we don't want to waste your time. + +Please keep in mind that the core team is small, has limited resources and that we are not always able to respond immediately. We will try to provide feedback as soon as possible, but please be patient. If you don't get a response immediately, it doesn't mean that we are ignoring you or that we don't care about your issue or PR. We will get back to you as soon as we can. + + ## Issues and labels Our bug tracker utilizes several labels to help organize and identify issues. Here's what they represent and how we use them: -- cgit v1.2.3 From 7103327201b54b21e8c0cc8005bc1fce16796b85 Mon Sep 17 00:00:00 2001 From: Diogo Teles Sant'Anna Date: Tue, 15 Aug 2023 08:36:42 -0300 Subject: ci: update permissions for calibreapp-image-actions.yml (#39021) Co-authored-by: XhmikosR --- .github/workflows/calibreapp-image-actions.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.github') diff --git a/.github/workflows/calibreapp-image-actions.yml b/.github/workflows/calibreapp-image-actions.yml index 21df1f626..97081deb6 100644 --- a/.github/workflows/calibreapp-image-actions.yml +++ b/.github/workflows/calibreapp-image-actions.yml @@ -8,12 +8,18 @@ on: - '**.png' - '**.webp' +permissions: + contents: read + jobs: build: # Only run on Pull Requests within the same repository, and not from forks. if: github.event.pull_request.head.repo.full_name == github.repository name: calibreapp/image-actions runs-on: ubuntu-latest + permissions: + # allow calibreapp/image-actions to update PRs + pull-requests: write steps: - name: Checkout Repo uses: actions/checkout@v3 -- cgit v1.2.3 From fee563d1fca2acea0bde65ab382b4b79f93f600d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 23 Aug 2023 09:27:01 +0300 Subject: Build(deps): Bump streetsidesoftware/cspell-action from 2 to 3 (#39088) Bumps [streetsidesoftware/cspell-action](https://github.com/streetsidesoftware/cspell-action) from 2 to 3. - [Release notes](https://github.com/streetsidesoftware/cspell-action/releases) - [Changelog](https://github.com/streetsidesoftware/cspell-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/streetsidesoftware/cspell-action/compare/v2...v3) --- updated-dependencies: - dependency-name: streetsidesoftware/cspell-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR --- .github/workflows/cspell.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/cspell.yml b/.github/workflows/cspell.yml index 11788e3cc..4c4a65556 100644 --- a/.github/workflows/cspell.yml +++ b/.github/workflows/cspell.yml @@ -28,7 +28,7 @@ jobs: persist-credentials: false - name: Run cspell - uses: streetsidesoftware/cspell-action@v2 + uses: streetsidesoftware/cspell-action@v3 with: config: ".cspell.json" files: "**/*.md" -- cgit v1.2.3 From 52edf180c5fbd138a482b3fad608b52b5f898d5c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 13 Sep 2023 12:47:26 +0300 Subject: Build(deps): Bump actions/checkout from 3 to 4 (#39148) Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/browserstack.yml | 2 +- .github/workflows/bundlewatch.yml | 2 +- .github/workflows/calibreapp-image-actions.yml | 2 +- .github/workflows/codeql.yml | 2 +- .github/workflows/cspell.yml | 2 +- .github/workflows/css.yml | 2 +- .github/workflows/docs.yml | 2 +- .github/workflows/js.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/node-sass.yml | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) (limited to '.github') diff --git a/.github/workflows/browserstack.yml b/.github/workflows/browserstack.yml index e545d628a..8d8cb1c34 100644 --- a/.github/workflows/browserstack.yml +++ b/.github/workflows/browserstack.yml @@ -22,7 +22,7 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false diff --git a/.github/workflows/bundlewatch.yml b/.github/workflows/bundlewatch.yml index c02a37ed9..7f58b245f 100644 --- a/.github/workflows/bundlewatch.yml +++ b/.github/workflows/bundlewatch.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false diff --git a/.github/workflows/calibreapp-image-actions.yml b/.github/workflows/calibreapp-image-actions.yml index 97081deb6..f4aeb871a 100644 --- a/.github/workflows/calibreapp-image-actions.yml +++ b/.github/workflows/calibreapp-image-actions.yml @@ -22,7 +22,7 @@ jobs: pull-requests: write steps: - name: Checkout Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index b1780ee34..6d5f77897 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -24,7 +24,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false diff --git a/.github/workflows/cspell.yml b/.github/workflows/cspell.yml index 4c4a65556..3e7902e39 100644 --- a/.github/workflows/cspell.yml +++ b/.github/workflows/cspell.yml @@ -23,7 +23,7 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false diff --git a/.github/workflows/css.yml b/.github/workflows/css.yml index 66112a96c..d859c45eb 100644 --- a/.github/workflows/css.yml +++ b/.github/workflows/css.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2a684f618..278b099c1 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index 805b1b7b1..e123e982f 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -25,7 +25,7 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fd62b418b..7c88ddc96 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false diff --git a/.github/workflows/node-sass.yml b/.github/workflows/node-sass.yml index c558e447a..51ea6bff6 100644 --- a/.github/workflows/node-sass.yml +++ b/.github/workflows/node-sass.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false -- cgit v1.2.3 From aed99ecb3f099811bf124e144482aabd56a92291 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 2 Nov 2023 07:48:47 +0200 Subject: Build(deps): Bump actions/setup-node from 3 to 4 (#39330) Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/browserstack.yml | 2 +- .github/workflows/bundlewatch.yml | 2 +- .github/workflows/css.yml | 2 +- .github/workflows/docs.yml | 2 +- .github/workflows/js.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/node-sass.yml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) (limited to '.github') diff --git a/.github/workflows/browserstack.yml b/.github/workflows/browserstack.yml index 8d8cb1c34..872cf1dff 100644 --- a/.github/workflows/browserstack.yml +++ b/.github/workflows/browserstack.yml @@ -27,7 +27,7 @@ jobs: persist-credentials: false - name: Set up Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: "${{ env.NODE }}" cache: npm diff --git a/.github/workflows/bundlewatch.yml b/.github/workflows/bundlewatch.yml index 7f58b245f..331932e6b 100644 --- a/.github/workflows/bundlewatch.yml +++ b/.github/workflows/bundlewatch.yml @@ -25,7 +25,7 @@ jobs: persist-credentials: false - name: Set up Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: "${{ env.NODE }}" cache: npm diff --git a/.github/workflows/css.yml b/.github/workflows/css.yml index d859c45eb..0bb6327ed 100644 --- a/.github/workflows/css.yml +++ b/.github/workflows/css.yml @@ -25,7 +25,7 @@ jobs: persist-credentials: false - name: Set up Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: "${{ env.NODE }}" cache: npm diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 278b099c1..5fae7c1e7 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -25,7 +25,7 @@ jobs: persist-credentials: false - name: Set up Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: "${{ env.NODE }}" cache: npm diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index e123e982f..96dfc50d2 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -30,7 +30,7 @@ jobs: persist-credentials: false - name: Set up Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ env.NODE }} cache: npm diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7c88ddc96..2c48332fe 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -25,7 +25,7 @@ jobs: persist-credentials: false - name: Set up Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: "${{ env.NODE }}" cache: npm diff --git a/.github/workflows/node-sass.yml b/.github/workflows/node-sass.yml index 51ea6bff6..c0a63f3ab 100644 --- a/.github/workflows/node-sass.yml +++ b/.github/workflows/node-sass.yml @@ -25,7 +25,7 @@ jobs: persist-credentials: false - name: Set up Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: "${{ env.NODE }}" -- cgit v1.2.3 From efd57ec8282dc9f775c6055f10f9a9c206b9f56a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 2 Nov 2023 07:49:17 +0200 Subject: Build(deps): Bump streetsidesoftware/cspell-action from 3 to 4 (#39331) Bumps [streetsidesoftware/cspell-action](https://github.com/streetsidesoftware/cspell-action) from 3 to 4. - [Release notes](https://github.com/streetsidesoftware/cspell-action/releases) - [Changelog](https://github.com/streetsidesoftware/cspell-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/streetsidesoftware/cspell-action/compare/v3...v4) --- updated-dependencies: - dependency-name: streetsidesoftware/cspell-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/cspell.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/cspell.yml b/.github/workflows/cspell.yml index 3e7902e39..7c4a29615 100644 --- a/.github/workflows/cspell.yml +++ b/.github/workflows/cspell.yml @@ -28,7 +28,7 @@ jobs: persist-credentials: false - name: Run cspell - uses: streetsidesoftware/cspell-action@v3 + uses: streetsidesoftware/cspell-action@v4 with: config: ".cspell.json" files: "**/*.md" -- cgit v1.2.3 From 9ffd923442931670314e6a8b3201e5a03cd19856 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 Nov 2023 14:31:18 +0200 Subject: Build(deps): Bump streetsidesoftware/cspell-action from 4 to 5 (#39403) Bumps [streetsidesoftware/cspell-action](https://github.com/streetsidesoftware/cspell-action) from 4 to 5. - [Release notes](https://github.com/streetsidesoftware/cspell-action/releases) - [Changelog](https://github.com/streetsidesoftware/cspell-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/streetsidesoftware/cspell-action/compare/v4...v5) --- updated-dependencies: - dependency-name: streetsidesoftware/cspell-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/cspell.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/cspell.yml b/.github/workflows/cspell.yml index 7c4a29615..c671fde11 100644 --- a/.github/workflows/cspell.yml +++ b/.github/workflows/cspell.yml @@ -28,7 +28,7 @@ jobs: persist-credentials: false - name: Run cspell - uses: streetsidesoftware/cspell-action@v4 + uses: streetsidesoftware/cspell-action@v5 with: config: ".cspell.json" files: "**/*.md" -- cgit v1.2.3 From 32147914d419f87abc5f2eb5addfdbcb6b1d5fb0 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 21 Nov 2023 18:02:44 +0200 Subject: Update calibreapp-image-actions.yml --- .github/workflows/calibreapp-image-actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/calibreapp-image-actions.yml b/.github/workflows/calibreapp-image-actions.yml index f4aeb871a..08987b3aa 100644 --- a/.github/workflows/calibreapp-image-actions.yml +++ b/.github/workflows/calibreapp-image-actions.yml @@ -21,7 +21,7 @@ jobs: # allow calibreapp/image-actions to update PRs pull-requests: write steps: - - name: Checkout Repo + - name: Clone repository uses: actions/checkout@v4 with: persist-credentials: false -- cgit v1.2.3 From 7807c8d8ef2ff27f13b12faf233c80a661834493 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 17 Dec 2023 10:14:49 +0200 Subject: CI: switch to Node.js 20 (#39501) --- .github/workflows/browserstack.yml | 2 +- .github/workflows/bundlewatch.yml | 2 +- .github/workflows/css.yml | 2 +- .github/workflows/docs.yml | 2 +- .github/workflows/js.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/node-sass.yml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) (limited to '.github') diff --git a/.github/workflows/browserstack.yml b/.github/workflows/browserstack.yml index 872cf1dff..a53c233cc 100644 --- a/.github/workflows/browserstack.yml +++ b/.github/workflows/browserstack.yml @@ -9,7 +9,7 @@ on: env: FORCE_COLOR: 2 - NODE: 18 + NODE: 20 permissions: contents: read diff --git a/.github/workflows/bundlewatch.yml b/.github/workflows/bundlewatch.yml index 331932e6b..99ba06063 100644 --- a/.github/workflows/bundlewatch.yml +++ b/.github/workflows/bundlewatch.yml @@ -9,7 +9,7 @@ on: env: FORCE_COLOR: 2 - NODE: 18 + NODE: 20 permissions: contents: read diff --git a/.github/workflows/css.yml b/.github/workflows/css.yml index 0bb6327ed..52e93e2b2 100644 --- a/.github/workflows/css.yml +++ b/.github/workflows/css.yml @@ -9,7 +9,7 @@ on: env: FORCE_COLOR: 2 - NODE: 18 + NODE: 20 permissions: contents: read diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 5fae7c1e7..082220563 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -9,7 +9,7 @@ on: env: FORCE_COLOR: 2 - NODE: 18 + NODE: 20 permissions: contents: read diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index 96dfc50d2..f14d51c9f 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -9,7 +9,7 @@ on: env: FORCE_COLOR: 2 - NODE: 18 + NODE: 20 permissions: contents: read diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2c48332fe..213f9ec65 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,7 +9,7 @@ on: env: FORCE_COLOR: 2 - NODE: 18 + NODE: 20 permissions: contents: read diff --git a/.github/workflows/node-sass.yml b/.github/workflows/node-sass.yml index c0a63f3ab..493cc35fd 100644 --- a/.github/workflows/node-sass.yml +++ b/.github/workflows/node-sass.yml @@ -9,7 +9,7 @@ on: env: FORCE_COLOR: 2 - NODE: 18 + NODE: 20 permissions: contents: read -- cgit v1.2.3 From 056a0e0d756032f9a3d847f6ab8a6a16424aae05 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 17 Dec 2023 10:41:14 +0200 Subject: Build(deps): Bump github/codeql-action from 2 to 3 (#39502) Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v2...v3) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/codeql.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.github') diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 6d5f77897..dd7f6e7ef 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -29,16 +29,16 @@ jobs: persist-credentials: false - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: config-file: ./.github/codeql/codeql-config.yml languages: "javascript" queries: +security-and-quality - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 with: category: "/language:javascript" -- cgit v1.2.3 From a34ffb301f6b799f88d93b294e3166a234a86104 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 9 Jan 2024 09:11:05 +0200 Subject: CI: stop running coveralls in forks (#39096) --- .github/workflows/js.yml | 1 + 1 file changed, 1 insertion(+) (limited to '.github') diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index f14d51c9f..1b672aa30 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -46,6 +46,7 @@ jobs: - name: Run Coveralls uses: coverallsapp/github-action@v2 + if: ${{ !github.event.repository.fork }} with: github-token: "${{ secrets.GITHUB_TOKEN }}" path-to-lcov: "./js/coverage/lcov.info" -- cgit v1.2.3 From e4d8f149ab68c7d1e1cf5840df05d55394123687 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 6 Feb 2024 21:47:04 +0200 Subject: Build(deps): Bump release-drafter/release-drafter from 5 to 6 (#39653) Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5 to 6. - [Release notes](https://github.com/release-drafter/release-drafter/releases) - [Commits](https://github.com/release-drafter/release-drafter/compare/v5...v6) --- updated-dependencies: - dependency-name: release-drafter/release-drafter dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/release-notes.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index f620dd31d..813956af2 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -18,6 +18,6 @@ jobs: runs-on: ubuntu-latest if: github.repository == 'twbs/bootstrap' steps: - - uses: release-drafter/release-drafter@v5 + - uses: release-drafter/release-drafter@v6 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -- cgit v1.2.3 From 46d7c30eb3e2cf3539b6c47865b1de09d7514ae8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Mar 2024 14:39:02 +0200 Subject: Build(deps): Bump streetsidesoftware/cspell-action from 5 to 6 (#39730) Bumps [streetsidesoftware/cspell-action](https://github.com/streetsidesoftware/cspell-action) from 5 to 6. - [Release notes](https://github.com/streetsidesoftware/cspell-action/releases) - [Changelog](https://github.com/streetsidesoftware/cspell-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/streetsidesoftware/cspell-action/compare/v5...v6) --- updated-dependencies: - dependency-name: streetsidesoftware/cspell-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR --- .github/workflows/cspell.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/cspell.yml b/.github/workflows/cspell.yml index c671fde11..0b942ed25 100644 --- a/.github/workflows/cspell.yml +++ b/.github/workflows/cspell.yml @@ -28,7 +28,7 @@ jobs: persist-credentials: false - name: Run cspell - uses: streetsidesoftware/cspell-action@v5 + uses: streetsidesoftware/cspell-action@v6 with: config: ".cspell.json" files: "**/*.md" -- cgit v1.2.3 From 3083596e87146c1c5a61de7238cb69e1dab5ae8b Mon Sep 17 00:00:00 2001 From: Louis-Maxime Piton Date: Wed, 7 Aug 2024 12:11:06 +0200 Subject: Docs: update WCAG links and references (#40703) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Julien Déramond --- .github/CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index d18210b28..1c9caae3f 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -221,7 +221,7 @@ includes code changes) and under the terms of the [Adhere to the Code Guide.](https://codeguide.co/#css) -- When feasible, default color palettes should comply with [WCAG color contrast guidelines](https://www.w3.org/TR/WCAG20/#visual-audio-contrast). +- When feasible, default color palettes should comply with [WCAG color contrast guidelines](https://www.w3.org/TR/WCAG/#distinguishable). - Except in rare cases, don't remove default `:focus` styles (via e.g. `outline: none;`) without providing alternative styles. See [this A11Y Project post](https://www.a11yproject.com/posts/2013-01-25-never-remove-css-outlines/) for more details. ### JS -- cgit v1.2.3