diff options
Diffstat (limited to 'vendor/twbs/bootstrap/.github/workflows')
13 files changed, 138 insertions, 33 deletions
diff --git a/vendor/twbs/bootstrap/.github/workflows/browserstack.yml b/vendor/twbs/bootstrap/.github/workflows/browserstack.yml index f689a6f35..425c56684 100644 --- a/vendor/twbs/bootstrap/.github/workflows/browserstack.yml +++ b/vendor/twbs/bootstrap/.github/workflows/browserstack.yml @@ -2,10 +2,11 @@ name: BrowserStack on: push: + workflow_dispatch: env: FORCE_COLOR: 2 - NODE: 14 + NODE: 16 jobs: browserstack: @@ -15,10 +16,10 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - 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/vendor/twbs/bootstrap/.github/workflows/bundlewatch.yml b/vendor/twbs/bootstrap/.github/workflows/bundlewatch.yml index 33a8734e3..d1a174784 100644 --- a/vendor/twbs/bootstrap/.github/workflows/bundlewatch.yml +++ b/vendor/twbs/bootstrap/.github/workflows/bundlewatch.yml @@ -5,10 +5,11 @@ on: branches-ignore: - "dependabot/**" pull_request: + workflow_dispatch: env: FORCE_COLOR: 2 - NODE: 14 + NODE: 16 jobs: bundlewatch: @@ -16,10 +17,10 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - 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/vendor/twbs/bootstrap/.github/workflows/calibreapp-image-actions.yml b/vendor/twbs/bootstrap/.github/workflows/calibreapp-image-actions.yml new file mode 100644 index 000000000..e23f5626e --- /dev/null +++ b/vendor/twbs/bootstrap/.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 }} diff --git a/vendor/twbs/bootstrap/.github/workflows/codeql.yml b/vendor/twbs/bootstrap/.github/workflows/codeql.yml index de6626a15..70be0563c 100644 --- a/vendor/twbs/bootstrap/.github/workflows/codeql.yml +++ b/vendor/twbs/bootstrap/.github/workflows/codeql.yml @@ -14,6 +14,7 @@ on: - "!dependabot/**" schedule: - cron: "0 2 * * 5" + workflow_dispatch: jobs: analyze: @@ -26,12 +27,12 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + 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 diff --git a/vendor/twbs/bootstrap/.github/workflows/cspell.yml b/vendor/twbs/bootstrap/.github/workflows/cspell.yml new file mode 100644 index 000000000..3751ad339 --- /dev/null +++ b/vendor/twbs/bootstrap/.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@v3 + + - name: Run cspell + uses: streetsidesoftware/cspell-action@v2 + with: + config: ".cspell.json" + files: "**/*.md" + inline: error + incremental_files_only: false diff --git a/vendor/twbs/bootstrap/.github/workflows/css.yml b/vendor/twbs/bootstrap/.github/workflows/css.yml index 48f11d459..857a5672c 100644 --- a/vendor/twbs/bootstrap/.github/workflows/css.yml +++ b/vendor/twbs/bootstrap/.github/workflows/css.yml @@ -5,10 +5,11 @@ on: branches-ignore: - "dependabot/**" pull_request: + workflow_dispatch: env: FORCE_COLOR: 2 - NODE: 14 + NODE: 16 jobs: css: @@ -16,10 +17,10 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - 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/vendor/twbs/bootstrap/.github/workflows/docs.yml b/vendor/twbs/bootstrap/.github/workflows/docs.yml index cc5f4bd6d..f33413eb4 100644 --- a/vendor/twbs/bootstrap/.github/workflows/docs.yml +++ b/vendor/twbs/bootstrap/.github/workflows/docs.yml @@ -5,10 +5,11 @@ on: branches-ignore: - "dependabot/**" pull_request: + workflow_dispatch: env: FORCE_COLOR: 2 - NODE: 14 + NODE: 16 jobs: docs: @@ -16,10 +17,10 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: "${{ env.NODE }}" cache: npm @@ -29,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)" diff --git a/vendor/twbs/bootstrap/.github/workflows/issue-close-require.yml b/vendor/twbs/bootstrap/.github/workflows/issue-close-require.yml new file mode 100644 index 000000000..b251cd75e --- /dev/null +++ b/vendor/twbs/bootstrap/.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/vendor/twbs/bootstrap/.github/workflows/issue-labeled.yml b/vendor/twbs/bootstrap/.github/workflows/issue-labeled.yml new file mode 100644 index 000000000..fac58493b --- /dev/null +++ b/vendor/twbs/bootstrap/.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 == 'needs-example' + 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 [StackBlitz](https://stackblitz.com/) and report back with your link, Bootstrap version, and specific browser and Operating System details. diff --git a/vendor/twbs/bootstrap/.github/workflows/js.yml b/vendor/twbs/bootstrap/.github/workflows/js.yml index 266b1576d..82616c574 100644 --- a/vendor/twbs/bootstrap/.github/workflows/js.yml +++ b/vendor/twbs/bootstrap/.github/workflows/js.yml @@ -5,28 +5,25 @@ on: branches-ignore: - "dependabot/**" pull_request: + workflow_dispatch: 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 + uses: actions/checkout@v3 - name: Set up Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node }} + node-version: ${{ env.NODE }} cache: npm - name: Install npm dependencies @@ -40,7 +37,6 @@ jobs: - name: Run Coveralls uses: coverallsapp/github-action@1.1.3 - if: matrix.node == 14 with: github-token: "${{ secrets.GITHUB_TOKEN }}" path-to-lcov: "./js/coverage/lcov.info" diff --git a/vendor/twbs/bootstrap/.github/workflows/lint.yml b/vendor/twbs/bootstrap/.github/workflows/lint.yml index 153ad6f22..816694ec2 100644 --- a/vendor/twbs/bootstrap/.github/workflows/lint.yml +++ b/vendor/twbs/bootstrap/.github/workflows/lint.yml @@ -5,10 +5,11 @@ on: branches-ignore: - "dependabot/**" pull_request: + workflow_dispatch: env: FORCE_COLOR: 2 - NODE: 14 + NODE: 16 jobs: lint: @@ -16,10 +17,10 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - 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/vendor/twbs/bootstrap/.github/workflows/node-sass.yml b/vendor/twbs/bootstrap/.github/workflows/node-sass.yml index ee64b2152..465cee485 100644 --- a/vendor/twbs/bootstrap/.github/workflows/node-sass.yml +++ b/vendor/twbs/bootstrap/.github/workflows/node-sass.yml @@ -5,10 +5,11 @@ on: branches-ignore: - "dependabot/**" pull_request: + workflow_dispatch: env: FORCE_COLOR: 2 - NODE: 14 + NODE: 16 jobs: css: @@ -16,10 +17,10 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: "${{ env.NODE }}" diff --git a/vendor/twbs/bootstrap/.github/workflows/release-notes.yml b/vendor/twbs/bootstrap/.github/workflows/release-notes.yml index ab2f37694..bbd0a2448 100644 --- a/vendor/twbs/bootstrap/.github/workflows/release-notes.yml +++ b/vendor/twbs/bootstrap/.github/workflows/release-notes.yml @@ -4,6 +4,7 @@ on: push: branches: - main + workflow_dispatch: jobs: update_release_draft: |