Clean up .github folder by removing unneeded stuff

This commit is contained in:
MG-5 2023-10-17 00:35:37 +02:00
parent d7ab535089
commit 1ca83e07b1
12 changed files with 0 additions and 265 deletions

44
.github/.travis.yml vendored
View file

@ -1,44 +0,0 @@
language: ruby
rvm:
# - 2.4.0
# - 2.5.5
- 2.6.3
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
notifications:
email: false
before_install:
# - gem update --system
- gem install bundler
script:
- bundle install
- bundle exec jekyll build
after_script:
- gem install type-on-strap
- gem install jekyll-theme-type-on-strap
- docker pull sylhare/type-on-strap
branches:
only:
- master
- /^v.*$/
jobs:
include:
- stage: gem release
rvm: 2.6.3
script: echo "Deploying to rubygems.org ..."
deploy:
provider: rubygems
gem: type-on-strap
api_key:
secure: DNJmBojaNJU0VFS2RE3Gy5CBnll1GXm7wtvxVMDfAqFNbCQdq2LR/v3LDNNm/ZEPMQfgdvlom8s5Pm26nnxbWFAAFcLTBD/cyJffvudgiCo3ONLkpm/PsVJiTyNbzZyb/XPE879S+LVtdKGlhLFSBaqUKfrhyRHT1W9LWrrjZMTQngUZCPlJmw6AsLvqT2x1CcBvVD2Q6tN8bOwq2blsDUtI6449ey1qWfgaERvM8KvF76aB32YQ7t8986NMkfHRDXPlgxm64pCc4kduBqAk9UHP5JAJzO4c3zEhX5Mb6Hc1CoxdgF3WSpmiN6HVVMaSC1byL4evocR+Enh5Gjc0VxEmIjCESpyheQG7YkkaadC7Lrvb18/qoSj0iDeB386k11XMiRN1dxu1CehPOkyQh5V5UEbZrm/9W9U/eQGgG1YoqicShcfxLDGeWRK4moLW8a8pvvBs+dduZyCWUgaC08S1u+HwvO8TpWcslr9/J05sRV4PAjk+u66+FVdILn0YWsbOKTezY/APTDfHnn/NQGZWXI4W5PMtf+KfPjL9kU0ouhqGpElGxrg2Hlw8kaPY3QrYLviVC7/DvWNWPGt9hmvcneuEg16zJTMoeNzckK5AUimyzvvjpVPVBh30T1YpZtcg+gFgesTHjyo/piFxEFX4ttYKoxvLMABONbniXcE=
on:
tags: true
repo: sylhare/Type-on-Strap

13
.github/Docs.md vendored
View file

@ -1,13 +0,0 @@
# GitHub folder
> You don't need that folder for your GitHub page
You can delete this folder or add your own workflows in it.
## Structure
- [hooks](./hooks): custom git hooks for gulp task
- [workflows](./workflows): Workflows of this repository for the GitHub actions
- [config.yml](./config.yml): Config file for "request-info" bot
- [release-drafter.yml](./release-drafter.yml): Config file for "release-drafter" bot
- [stale.yml](./stale.yml): Config file for "stale" bot

View file

@ -1,27 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: 'sylhare'
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Additional context**
Add any other context about the problem here.

View file

@ -1,20 +0,0 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

View file

@ -1,10 +0,0 @@
---
name: Question
about: Anything you'd like to ask for
title: ''
labels: question
assignees: ''
---
<!-- If applicable, add screenshots to your question -->

View file

@ -1,8 +0,0 @@
<!-- Thanks for your PR! -->
<!-- If the change is not compatible with GitHub page (https://github.com/github/pages-gem) it won't be merged 😢 -->
### Description
<!-- A brief explanation of what the PR is about -->
### Screenshot
<!-- Don't forget to provide screenshot if you change the layout of the theme -->

27
.github/config.yml vendored
View file

@ -1,27 +0,0 @@
# Configuration for request-info
# https://github.com/behaviorbot/request-info
# *OPTIONAL* Comment to reply with
requestInfoReplyComment: >
We would appreciate it if you could provide us with more info about this issue/pr!
# *OPTIONAL* default titles to check against for lack of descriptiveness (MUST BE ALL LOWERCASE)
requestInfoDefaultTitles:
- update readme.md
- updates
# *OPTIONAL* Label to be added to Issues and Pull Requests with insufficient information given
requestInfoLabelToAdd: need-more-info
# *OPTIONAL* Require Pull Requests to contain more information than what is provided in the PR template (Will fail if the pull request's body is equal to the provided template)
checkPullRequestTemplate: true
# *OPTIONAL* Only warn about insufficient information on these events type (Keys must be lowercase. Valid values are 'issue' and 'pullRequest')
requestInfoOn:
pullRequest: true
issue: true
# *OPTIONAL* Add a list of people whose Issues/PRs will not be commented on (keys must be GitHub usernames)
requestInfoUserstoExclude:
- sylhare
- # the other users you wanna add here

8
.github/labeler.yml vendored
View file

@ -1,8 +0,0 @@
question:
- '(?)'
bug:
- '(bug|issue|problem)'
enhancement:
- '(enhancement|feature)'

View file

@ -1,19 +0,0 @@
name-template: 'v$NEXT_PATCH_VERSION'
tag-template: 'v$NEXT_PATCH_VERSION'
categories:
- title: '🚀 Features'
labels:
- 'feature'
- 'enhancement'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'bug'
- title: '🧰 Maintenance'
labels:
- 'devops'
- 'custom'
template: |
## Whats new:
$CHANGES

22
.github/stale.yml vendored
View file

@ -1,22 +0,0 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 15
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
# Label to use when marking an issue as stale
staleLabel: wontfix
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false

View file

@ -1,13 +0,0 @@
name: "Issue Labeler"
on:
issues:
types: [opened, edited]
jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: github/issue-labeler@3.2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/labeler.yml

View file

@ -1,54 +0,0 @@
name: Publish build
on:
workflow_dispatch:
push:
tags:
- v*
jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- name: Set up Ruby 3.1
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1.0
- name: Install
run: bundle install
- name: Build jekyll site
run: bundle exec jekyll build
- name: Build the gem
continue-on-error: true
run: |
gem build *.gemspec
echo `find . -name "*.gem" | tail -1 | awk -F"[/]" '{print $2}'`
- name: Publish to GPR
continue-on-error: true
run: |
echo ${{ github.repository_owner }}
mkdir -p $HOME/.gem
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:github: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
env:
GEM_HOST_API_KEY: "Bearer ${{secrets.GITHUB_TOKEN}}"
OWNER: ${{ github.repository_owner }}
- name: Publish to RubyGems
run: |
mkdir -p $HOME/.gem
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
wc -l $HOME/.gem/credentials
gem push *.gem
env:
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"