aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/.github
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/twbs/bootstrap/.github')
-rw-r--r--vendor/twbs/bootstrap/.github/dependabot.yml11
-rw-r--r--vendor/twbs/bootstrap/.github/workflows/browserstack.yml5
-rw-r--r--vendor/twbs/bootstrap/.github/workflows/bundlewatch.yml4
-rw-r--r--vendor/twbs/bootstrap/.github/workflows/codeql.yml4
-rw-r--r--vendor/twbs/bootstrap/.github/workflows/cspell.yml4
-rw-r--r--vendor/twbs/bootstrap/.github/workflows/css.yml7
-rw-r--r--vendor/twbs/bootstrap/.github/workflows/docs.yml4
-rw-r--r--vendor/twbs/bootstrap/.github/workflows/js.yml6
-rw-r--r--vendor/twbs/bootstrap/.github/workflows/lint.yml4
-rw-r--r--vendor/twbs/bootstrap/.github/workflows/node-sass.yml16
-rw-r--r--vendor/twbs/bootstrap/.github/workflows/scorecards.yml65
11 files changed, 40 insertions, 90 deletions
diff --git a/vendor/twbs/bootstrap/.github/dependabot.yml b/vendor/twbs/bootstrap/.github/dependabot.yml
index 29135b400..f54ba8953 100644
--- a/vendor/twbs/bootstrap/.github/dependabot.yml
+++ b/vendor/twbs/bootstrap/.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
diff --git a/vendor/twbs/bootstrap/.github/workflows/browserstack.yml b/vendor/twbs/bootstrap/.github/workflows/browserstack.yml
index 9a2fc91e5..e545d628a 100644
--- a/vendor/twbs/bootstrap/.github/workflows/browserstack.yml
+++ b/vendor/twbs/bootstrap/.github/workflows/browserstack.yml
@@ -2,6 +2,9 @@ name: BrowserStack
on:
push:
+ branches:
+ - "**"
+ - "!dependabot/**"
workflow_dispatch:
env:
@@ -14,7 +17,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/vendor/twbs/bootstrap/.github/workflows/bundlewatch.yml b/vendor/twbs/bootstrap/.github/workflows/bundlewatch.yml
index 2add86c49..c02a37ed9 100644
--- a/vendor/twbs/bootstrap/.github/workflows/bundlewatch.yml
+++ b/vendor/twbs/bootstrap/.github/workflows/bundlewatch.yml
@@ -2,8 +2,8 @@ name: Bundlewatch
on:
push:
- branches-ignore:
- - "dependabot/**"
+ branches:
+ - main
pull_request:
workflow_dispatch:
diff --git a/vendor/twbs/bootstrap/.github/workflows/codeql.yml b/vendor/twbs/bootstrap/.github/workflows/codeql.yml
index 98aa891c4..b1780ee34 100644
--- a/vendor/twbs/bootstrap/.github/workflows/codeql.yml
+++ b/vendor/twbs/bootstrap/.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:
diff --git a/vendor/twbs/bootstrap/.github/workflows/cspell.yml b/vendor/twbs/bootstrap/.github/workflows/cspell.yml
index 1d946981c..11788e3cc 100644
--- a/vendor/twbs/bootstrap/.github/workflows/cspell.yml
+++ b/vendor/twbs/bootstrap/.github/workflows/cspell.yml
@@ -2,8 +2,8 @@ name: cspell
on:
push:
- branches-ignore:
- - "dependabot/**"
+ branches:
+ - main
pull_request:
workflow_dispatch:
diff --git a/vendor/twbs/bootstrap/.github/workflows/css.yml b/vendor/twbs/bootstrap/.github/workflows/css.yml
index 6bfde50af..66112a96c 100644
--- a/vendor/twbs/bootstrap/.github/workflows/css.yml
+++ b/vendor/twbs/bootstrap/.github/workflows/css.yml
@@ -2,8 +2,8 @@ name: CSS
on:
push:
- branches-ignore:
- - "dependabot/**"
+ branches:
+ - main
pull_request:
workflow_dispatch:
@@ -35,3 +35,6 @@ jobs:
- name: Build CSS
run: npm run css
+
+ - name: Run CSS tests
+ run: npm run css-test
diff --git a/vendor/twbs/bootstrap/.github/workflows/docs.yml b/vendor/twbs/bootstrap/.github/workflows/docs.yml
index bdeae6043..2a684f618 100644
--- a/vendor/twbs/bootstrap/.github/workflows/docs.yml
+++ b/vendor/twbs/bootstrap/.github/workflows/docs.yml
@@ -2,8 +2,8 @@ name: Docs
on:
push:
- branches-ignore:
- - "dependabot/**"
+ branches:
+ - main
pull_request:
workflow_dispatch:
diff --git a/vendor/twbs/bootstrap/.github/workflows/js.yml b/vendor/twbs/bootstrap/.github/workflows/js.yml
index a8994b6cc..805b1b7b1 100644
--- a/vendor/twbs/bootstrap/.github/workflows/js.yml
+++ b/vendor/twbs/bootstrap/.github/workflows/js.yml
@@ -2,8 +2,8 @@ name: JS Tests
on:
push:
- branches-ignore:
- - "dependabot/**"
+ branches:
+ - main
pull_request:
workflow_dispatch:
@@ -45,7 +45,7 @@ jobs:
run: npm run js-test
- name: Run Coveralls
- uses: coverallsapp/github-action@1.1.3
+ uses: coverallsapp/github-action@v2
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 51ee18999..fd62b418b 100644
--- a/vendor/twbs/bootstrap/.github/workflows/lint.yml
+++ b/vendor/twbs/bootstrap/.github/workflows/lint.yml
@@ -2,8 +2,8 @@ name: Lint
on:
push:
- branches-ignore:
- - "dependabot/**"
+ branches:
+ - main
pull_request:
workflow_dispatch:
diff --git a/vendor/twbs/bootstrap/.github/workflows/node-sass.yml b/vendor/twbs/bootstrap/.github/workflows/node-sass.yml
index dc687ca46..d83e3e70f 100644
--- a/vendor/twbs/bootstrap/.github/workflows/node-sass.yml
+++ b/vendor/twbs/bootstrap/.github/workflows/node-sass.yml
@@ -2,8 +2,8 @@ name: CSS (node-sass)
on:
push:
- branches-ignore:
- - "dependabot/**"
+ branches:
+ - main
pull_request:
workflow_dispatch:
@@ -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
diff --git a/vendor/twbs/bootstrap/.github/workflows/scorecards.yml b/vendor/twbs/bootstrap/.github/workflows/scorecards.yml
deleted file mode 100644
index 01977ac1c..000000000
--- a/vendor/twbs/bootstrap/.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.1
- 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