Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'v4-dev' into v4-interaction-utils
- Loading branch information
Showing
13 changed files
with
165 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name-template: 'v$NEXT_PATCH_VERSION' | ||
tag-template: 'v$NEXT_PATCH_VERSION' | ||
prerelease: true | ||
exclude-labels: | ||
- 'skip-changelog' | ||
categories: | ||
- title: '🚀 Features' | ||
labels: | ||
- 'new-feature' | ||
- 'feature' | ||
- 'enhancement' | ||
- title: '🐛 Bug fixes' | ||
labels: | ||
- 'fix' | ||
- 'bugfix' | ||
- 'bug' | ||
- title: '🎨 CSS' | ||
labels: | ||
- 'css' | ||
- title: '☕️ JavaScript' | ||
labels: | ||
- 'js' | ||
- title: '📖 Docs' | ||
labels: | ||
- 'docs' | ||
- title: '🌎 Accessibility' | ||
labels: | ||
- 'accessibility' | ||
- title: '🧰 Misc' | ||
labels: | ||
- 'build' | ||
- 'meta' | ||
- 'chore' | ||
- title: '📦 Dependencies' | ||
labels: | ||
- 'dependencies' | ||
change-template: '- #$NUMBER: $TITLE' | ||
template: | | ||
## Changes | ||
$CHANGES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: "Code Scanning - Action" | ||
|
||
on: | ||
push: | ||
pull_request: | ||
schedule: | ||
- cron: "0 0 * * 0" | ||
|
||
jobs: | ||
CodeQL-Build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v1 | ||
with: | ||
languages: javascript | ||
|
||
- name: Autobuild | ||
uses: github/codeql-action/autobuild@v1 | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Release notes | ||
|
||
on: | ||
push: | ||
branches: | ||
- v4-dev | ||
|
||
jobs: | ||
update_release_draft: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: release-drafter/release-drafter@v5 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
#!/usr/bin/env node | ||
|
||
/*! | ||
* Script to create the built examples zip archive; | ||
* requires the `zip` command to be present! | ||
* Copyright 2020 The Bootstrap Authors | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
*/ | ||
|
||
'use strict' | ||
|
||
const path = require('path') | ||
const sh = require('shelljs') | ||
|
||
const { | ||
version, version_short: versionShort | ||
} = require('../package.json') | ||
|
||
const folderName = `bootstrap-${version}-examples` | ||
|
||
sh.config.fatal = true | ||
|
||
if (!sh.test('-d', '_gh_pages')) { | ||
throw new Error('The _gh_pages folder does not exist, did you forget building the docs?') | ||
} | ||
|
||
// switch to the root dir | ||
sh.cd(path.join(__dirname, '..')) | ||
|
||
// remove any previously created folder with the same name | ||
sh.rm('-rf', folderName) | ||
sh.mkdir('-p', folderName) | ||
|
||
// copy the examples and dist folders; for the examples we use `*` | ||
// so that its content are copied to the root dist dir | ||
sh.cp('-Rf', [ | ||
`_gh_pages/docs/${versionShort}/examples/*`, | ||
`_gh_pages/docs/${versionShort}/dist/` | ||
], folderName) | ||
sh.rm(`${folderName}/index.html`) | ||
|
||
// sed-fu | ||
sh.find(`${folderName}/**/*.html`).forEach((file) => { | ||
sh.sed('-i', new RegExp(`"/docs/${versionShort}/`, 'g'), '"../', file) | ||
sh.sed('-i', /(<link href="\.\.\/.*) integrity=".*>/g, '$1>', file) | ||
sh.sed('-i', /(<script src="\.\.\/.*) integrity=".*>/g, '$1></script>', file) | ||
}) | ||
|
||
// create the zip file | ||
sh.exec(`zip -r9 "${folderName}.zip" "${folderName}"`, { | ||
fatal: true | ||
}) | ||
|
||
// remove the folder we created | ||
sh.rm('-rf', folderName) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters