From 565a1fe7dc12d03d3e9d26cb5ca7ccce1e7162fc Mon Sep 17 00:00:00 2001 From: MG-5 Date: Tue, 17 Oct 2023 00:35:37 +0200 Subject: [PATCH] Clean up .github folder by removing unneeded stuff --- .github/.travis.yml | 44 ------------------ .github/Docs.md | 13 ------ .github/ISSUE_TEMPLATE/bug_report.md | 27 ------------ .github/ISSUE_TEMPLATE/feature_request.md | 20 --------- .github/ISSUE_TEMPLATE/question.md | 10 ----- .github/PULL_REQUEST_TEMPLATE.md | 8 ---- .github/config.yml | 27 ------------ .github/labeler.yml | 8 ---- .github/release-drafter.yml | 19 -------- .github/stale.yml | 22 --------- .github/workflows/labeler.yml | 13 ------ .github/workflows/publish-build.yml | 54 ----------------------- 12 files changed, 265 deletions(-) delete mode 100644 .github/.travis.yml delete mode 100644 .github/Docs.md delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md delete mode 100644 .github/ISSUE_TEMPLATE/question.md delete mode 100644 .github/PULL_REQUEST_TEMPLATE.md delete mode 100644 .github/config.yml delete mode 100644 .github/labeler.yml delete mode 100644 .github/release-drafter.yml delete mode 100644 .github/stale.yml delete mode 100644 .github/workflows/labeler.yml delete mode 100644 .github/workflows/publish-build.yml diff --git a/.github/.travis.yml b/.github/.travis.yml deleted file mode 100644 index 7b12be85..00000000 --- a/.github/.travis.yml +++ /dev/null @@ -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 diff --git a/.github/Docs.md b/.github/Docs.md deleted file mode 100644 index 4e428678..00000000 --- a/.github/Docs.md +++ /dev/null @@ -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 diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 1a4d2fa1..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -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. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 11fc491e..00000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -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. diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md deleted file mode 100644 index 2914d455..00000000 --- a/.github/ISSUE_TEMPLATE/question.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -name: Question -about: Anything you'd like to ask for -title: '' -labels: question -assignees: '' - ---- - - diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index c3ac09cc..00000000 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,8 +0,0 @@ - - - -### Description - - -### Screenshot - diff --git a/.github/config.yml b/.github/config.yml deleted file mode 100644 index 31fa6135..00000000 --- a/.github/config.yml +++ /dev/null @@ -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 diff --git a/.github/labeler.yml b/.github/labeler.yml deleted file mode 100644 index 43c012f3..00000000 --- a/.github/labeler.yml +++ /dev/null @@ -1,8 +0,0 @@ -question: - - '(?)' - -bug: - - '(bug|issue|problem)' - -enhancement: - - '(enhancement|feature)' diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml deleted file mode 100644 index b88abd41..00000000 --- a/.github/release-drafter.yml +++ /dev/null @@ -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: | - ## What’s new: - - $CHANGES diff --git a/.github/stale.yml b/.github/stale.yml deleted file mode 100644 index a4183fe6..00000000 --- a/.github/stale.yml +++ /dev/null @@ -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 diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml deleted file mode 100644 index 9256658f..00000000 --- a/.github/workflows/labeler.yml +++ /dev/null @@ -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 diff --git a/.github/workflows/publish-build.yml b/.github/workflows/publish-build.yml deleted file mode 100644 index f953516a..00000000 --- a/.github/workflows/publish-build.yml +++ /dev/null @@ -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}}"