Skip to content

Commit

Permalink
Merge pull request #195 from github/dependabot/github_actions/super-l…
Browse files Browse the repository at this point in the history
…inter/super-linter-7.0.0

chore(deps): bump super-linter/super-linter from 6.8.0 to 7.0.0
  • Loading branch information
jmeridth authored Aug 19, 2024
2 parents 37c027b + f39cb5b commit 70a9c02
Show file tree
Hide file tree
Showing 18 changed files with 183 additions and 179 deletions.
10 changes: 4 additions & 6 deletions .github/linters/.jscpd.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"threshold": 25,
"ignore": [
"test*"
],
"absolute": true
}
"threshold": 25,
"ignore": ["test*"],
"absolute": true
}
2 changes: 1 addition & 1 deletion .github/linters/.yaml-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
rules:
line-length:
level: warning
max: 1024
max: 1024
4 changes: 3 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Pull Request
<!--

<!--
PR title needs to be prefixed with a conventional commit type
(build,chore,ci,docs,feat,fix,perf,refactor,revert,style,test)
Expand All @@ -9,6 +10,7 @@ examples: "feat: add new logger" or "fix: remove unused imports"
-->

## Proposed Changes

<!-- Describe what the changes are and link to a GitHub Issue if one exists -->

## Readiness Checklist
Expand Down
80 changes: 40 additions & 40 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,68 +1,68 @@
---
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
name-template: "v$RESOLVED_VERSION"
tag-template: "v$RESOLVED_VERSION"
template: |
# Changelog
$CHANGES
See details of [all code changes](https://github.com/github/stale-repos/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION) since previous release
categories:
- title: '🚀 Features'
- title: "🚀 Features"
labels:
- 'feature'
- 'enhancement'
- title: '🐛 Bug Fixes'
- "feature"
- "enhancement"
- title: "🐛 Bug Fixes"
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: '🧰 Maintenance'
- "fix"
- "bugfix"
- "bug"
- title: "🧰 Maintenance"
labels:
- 'infrastructure'
- 'automation'
- 'documentation'
- 'dependencies'
- 'maintenance'
- 'revert'
- title: '🏎 Performance'
label: 'performance'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
- "infrastructure"
- "automation"
- "documentation"
- "dependencies"
- "maintenance"
- "revert"
- title: "🏎 Performance"
label: "performance"
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
version-resolver:
major:
labels:
- 'breaking'
- "breaking"
minor:
labels:
- 'enhancement'
- 'fix'
- "enhancement"
- "fix"
patch:
labels:
- 'documentation'
- 'maintenance'
- "documentation"
- "maintenance"
default: patch
autolabeler:
- label: 'automation'
- label: "automation"
title:
- '/^(build|ci|perf|refactor|test).*/i'
- label: 'enhancement'
- "/^(build|ci|perf|refactor|test).*/i"
- label: "enhancement"
title:
- '/^(style).*/i'
- label: 'documentation'
- "/^(style).*/i"
- label: "documentation"
title:
- '/^(docs).*/i'
- label: 'feature'
- "/^(docs).*/i"
- label: "feature"
title:
- '/^(feat).*/i'
- label: 'fix'
- "/^(feat).*/i"
- label: "fix"
title:
- '/^(fix).*/i'
- label: 'infrastructure'
- "/^(fix).*/i"
- label: "infrastructure"
title:
- '/^(infrastructure).*/i'
- label: 'maintenance'
- "/^(infrastructure).*/i"
- label: "maintenance"
title:
- '/^(chore|maintenance).*/i'
- label: 'revert'
- "/^(chore|maintenance).*/i"
- label: "revert"
title:
- '/^(revert).*/i'
- "/^(revert).*/i"
2 changes: 1 addition & 1 deletion .github/workflows/auto-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Auto Labeler
on:
# pull_request_target event is required for autolabeler to support all PRs including forks
pull_request_target:
types: [ opened, reopened, edited, synchronize ]
types: [opened, reopened, edited, synchronize]

permissions:
contents: read
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: Docker Image CI

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

permissions:
contents: read
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Lint Code Base

on:
pull_request:
branches: [ main ]
branches: [main]

permissions:
contents: read
Expand All @@ -28,7 +28,7 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt -r requirements-test.txt
- name: Lint Code Base
uses: super-linter/super-linter@b4515bd4ad9d0aa4681960e053916ab991bdbe96
uses: super-linter/super-linter@02a1172d274f021e4c70f66e23f1085eadd1064b
env:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/major-version-updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Major Version Updater
# Whenever a new release is made, push a major version tag
on:
release:
types: [ published ]
types: [published]

permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: "Lint PR Title"

on:
pull_request_target:
types: [ opened, reopened, edited, synchronize ]
types: [opened, reopened, edited, synchronize]

permissions:
contents: read
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Python package

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

permissions:
contents: read
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ name: Release
on:
workflow_dispatch:
pull_request_target:
types: [ closed ]
branches: [ main ]
types: [closed]
branches: [main]

permissions:
contents: read
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ on:
# To guarantee Maintained check is occasionally updated. See
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
schedule:
- cron: '29 11 * * 6'
- cron: "29 11 * * 6"
push:
branches: [ main ]
branches: [main]

permissions: read-all

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 'Close stale issues'
name: "Close stale issues"
on:
schedule:
- cron: '30 1 * * *'
- cron: "30 1 * * *"

permissions:
issues: write
Expand All @@ -13,8 +13,8 @@ jobs:
steps:
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e
with:
stale-issue-message: 'This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 14 days.'
close-issue-message: 'This issue was closed because it has been stalled for 35 days with no activity.'
stale-issue-message: "This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 14 days."
close-issue-message: "This issue was closed because it has been stalled for 35 days with no activity."
days-before-stale: 21
days-before-close: 14
days-before-pr-close: -1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/use-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: stale repo identifier
on:
workflow_dispatch:
push:
branches: [ main ]
branches: [main]
pull_request:
schedule:
- cron: '3 2 1 * *'
- cron: "3 2 1 * *"
permissions:
contents: read
jobs:
Expand Down
10 changes: 4 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"python.testing.pytestArgs": [
"."
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
}
"python.testing.pytestArgs": ["."],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
}
9 changes: 8 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
<!-- markdownlint-disable MD013 -->
<!-- omit in toc -->

# Contributing to stale repos

First off, thanks for taking the time to contribute! :heart:

All types of contributions are encouraged and valued. See the [Table of Contents](#table-of-contents) for different ways to help and details about how this project handles them. Please make sure to read the relevant section before making your contribution. It will make it a lot easier for us project owners and smooth out the experience for all involved. The team looks forward to your contributions. :tada:

<!-- omit in toc -->

## Table of Contents

- [I Have a Question](#i-have-a-question)
Expand All @@ -30,11 +32,13 @@ We will then take care of the issue as soon as possible.
## I Want To Contribute

> ### Legal Notice <!-- omit in toc -->
>
> When contributing to this project, you must agree that you have authored 100% of the content, that you have the necessary rights to the content and that the content you contribute may be provided under the project license.
## Reporting Bugs

<!-- omit in toc -->

### Before Submitting a Bug Report

A good bug report shouldn't leave others needing to chase you up for more information. Therefore, we ask you to investigate carefully, collect information and describe the issue in detail in your report. Please complete the following steps in advance to help us fix any potential bug as fast as possible.
Expand All @@ -50,6 +54,7 @@ A good bug report shouldn't leave others needing to chase you up for more inform
- Can you reliably reproduce the issue? And can you also reproduce it with older versions?

<!-- omit in toc -->

### How Do I Submit a Good Bug Report?

Please submit a bug report using our [GitHub Issues template](https://github.com/github/stale-repos/issues/new?template=bug_report.yml).
Expand All @@ -59,6 +64,7 @@ Please submit a bug report using our [GitHub Issues template](https://github.com
This section guides you through submitting an enhancement suggestion for stale_repos, **including completely new features and minor improvements to existing functionality**. Following these guidelines will help maintainers and the community to understand your suggestion and find related suggestions.

<!-- omit in toc -->

### Before Submitting an Enhancement

- Make sure that you are using the latest version.
Expand All @@ -67,6 +73,7 @@ This section guides you through submitting an enhancement suggestion for stale_r
- Find out whether your idea fits with the scope and aims of the project. It's up to you to make a strong case to convince the project's developers of the merits of this feature or to develop the feature yourself and contribute it to the project.

<!-- omit in toc -->

### How Do I Submit a Good Enhancement Suggestion?

Please submit an enhancement suggestion using our [GitHub Issues template](https://github.com/github/stale-repos/issues/new?template=feature_request.yml).
Expand All @@ -79,4 +86,4 @@ We are using [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.

Releases are automated if a pull request is labelled with our [SemVer related labels](.github/release-drafter.yml) or with the `vuln` or `release` labels.

You can also manually initiate a release you can do so through the GitHub Actions UI. If you have permissions to do so, you can navigate to the [Actions tab](https://github.com/github/stale-repos/actions/workflows/release.yml) and select the `Run workflow` button. This will allow you to select the branch to release from and the version to release.
You can also manually initiate a release you can do so through the GitHub Actions UI. If you have permissions to do so, you can navigate to the [Actions tab](https://github.com/github/stale-repos/actions/workflows/release.yml) and select the `Run workflow` button. This will allow you to select the branch to release from and the version to release.
Loading

0 comments on commit 70a9c02

Please sign in to comment.