diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-07-22 19:27:36 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-07-23 08:52:25 +0000 |
commit | 78edec0e2d8a3e1216d99234554276cb05505ac4 (patch) | |
tree | 6f1a3cfda8731ef3a19f5ae57c928054a0c5624f /.github | |
parent | Initial commit. (diff) | |
download | bootstrap-icons-78edec0e2d8a3e1216d99234554276cb05505ac4.tar.xz bootstrap-icons-78edec0e2d8a3e1216d99234554276cb05505ac4.zip |
Adding upstream version 1.9.1+dfsg.upstream/1.9.1+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.github')
-rw-r--r-- | .github/ISSUE_TEMPLATE/bug_report.md | 16 | ||||
-rw-r--r-- | .github/ISSUE_TEMPLATE/icon-request.md | 10 | ||||
-rw-r--r-- | .github/dependabot.yml | 20 | ||||
-rw-r--r-- | .github/preview.png | bin | 0 -> 248086 bytes | |||
-rw-r--r-- | .github/release-drafter.yml | 29 | ||||
-rw-r--r-- | .github/workflows/codeql.yml | 34 | ||||
-rw-r--r-- | .github/workflows/deploy.yml | 58 | ||||
-rw-r--r-- | .github/workflows/release-notes.yml | 14 | ||||
-rw-r--r-- | .github/workflows/test.yml | 44 |
9 files changed, 225 insertions, 0 deletions
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..89973e5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,16 @@ +--- +name: Bug report +about: Report a problem with an icon or our documentation. +title: '' +labels: bug +assignees: '' + +--- + +Before opening, [search for duplicate or closed issues](https://github.com/twbs/icons/issues?utf8=%E2%9C%93&q=is%3Aissue). + +As appropriate, please include: + +- Operating system and version (Windows, macOS, Android, iOS) +- Browser and version (Chrome, Firefox, Safari, Microsoft Edge, Opera, Android Browser) +- A [reduced test case](https://css-tricks.com/reduced-test-cases/) or suggested fix using [CodePen](https://codepen.io/) or [JS Bin](https://jsbin.com/) diff --git a/.github/ISSUE_TEMPLATE/icon-request.md b/.github/ISSUE_TEMPLATE/icon-request.md new file mode 100644 index 0000000..e43d007 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/icon-request.md @@ -0,0 +1,10 @@ +--- +name: Icon request +about: Suggest new icons to add to the project +title: '' +labels: icon-request +assignees: '' + +--- + + diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..6e71d17 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,20 @@ +version: 2 +updates: + - package-ecosystem: npm + directory: "/" + schedule: + interval: monthly + time: "12:00" + timezone: Europe/Athens + open-pull-requests-limit: 10 + reviewers: + - XhmikosR + labels: + - dependencies + versioning-strategy: increase + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: monthly + time: "12:00" + timezone: Europe/Athens diff --git a/.github/preview.png b/.github/preview.png Binary files differnew file mode 100644 index 0000000..27d2466 --- /dev/null +++ b/.github/preview.png diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..b10c7b3 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,29 @@ +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: '📖 Docs' + labels: + - 'docs' + - title: '📦 Dependencies' + labels: + - 'dependencies' + - title: '🧰 Maintenance' + label: 'chore' +change-template: '- #$NUMBER: $TITLE' +template: | + ## Changes + + $CHANGES diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000..008b770 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,34 @@ +name: "CodeQL" + +on: + push: + branches: + - main + - "!dependabot/**" + pull_request: + # The branches below must be a subset of the branches above + branches: + - main + schedule: + - cron: "0 0 * * 0" + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: "javascript" + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..e8a396e --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,58 @@ +name: Deploy + +on: + release: + types: + - published + +env: + FORCE_COLOR: 2 + NODE: 16 + +jobs: + deploy: + runs-on: ubuntu-latest + if: github.repository == 'twbs/icons' + + steps: + - name: Clone repository + uses: actions/checkout@v3 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: "${{ env.NODE }}" + cache: npm + + - name: Install npm dependencies + run: npm ci + + - name: Build the icons + run: npm run icons + + - name: Build the docs + run: npm run docs-build + + - name: Deploy docs + uses: peaceiris/actions-gh-pages@v3 + with: + allow_empty_commit: false + personal_token: ${{ secrets.PERSONAL_TOKEN }} + publish_branch: gh-pages + publish_dir: ./_site/ + + publish: + needs: deploy + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - uses: actions/setup-node@v3 + with: + node-version: "${{ env.NODE }}" + registry-url: "https://registry.npmjs.org" + + - name: Publish on npm + run: npm publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml new file mode 100644 index 0000000..1c4f4be --- /dev/null +++ b/.github/workflows/release-notes.yml @@ -0,0 +1,14 @@ +name: Release notes + +on: + push: + branches: + - main + +jobs: + update_release_draft: + runs-on: ubuntu-latest + steps: + - uses: release-drafter/release-drafter@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..29cad2c --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,44 @@ +name: Tests + +on: + push: + branches-ignore: + - "dependabot/**" + pull_request: + +env: + FORCE_COLOR: 2 + NODE: 16 + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Clone repository + uses: actions/checkout@v3 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: "${{ env.NODE }}" + cache: npm + + - run: java -version + + - name: Install npm dependencies + run: npm ci + + - name: Build the icons + run: npm run icons + + - name: Run tests + run: npm test + + - name: Run linkinator + uses: JustinBeckwith/linkinator-action@v1 + with: + paths: _site + recurse: true + verbosity: error + skip: "^(?!http://localhost)" |