-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Pull Request ## Description This change introduces a GitHub Action for the GitHub Stats Analyser and updates environment variable naming conventions. Key modifications include: 1. Added `action.yml` file to define the GitHub Action, specifying inputs and branding. 2. Renamed the `REPOSITORY_OWNER` environment variable to `repository_owner` for consistency with GitHub Actions naming conventions. 3. Updated references to the renamed environment variable in various files: - `.github/workflows/code-test.yml` - `.vscode/launch.json` - `Justfile` - `analyser/utils/github_interactions.py` 4. Added `.coverage` and `coverage.xml` to the list of files excluded in `.vscode/settings.json`. 5. Updated `pyproject.toml` to ignore the SIM112 rule, allowing lowercase environment variables for GitHub Actions compatibility. These changes improve the project's integration with GitHub Actions and maintain consistent naming conventions across the codebase. fixes #58
- Loading branch information
1 parent
2710fbe
commit b203441
Showing
9 changed files
with
36 additions
and
12 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: "GitHub Stats Analyser" | ||
description: "Analyse GitHub and generate statistics for a user's repositories" | ||
author: "Jack Plowman" | ||
runs: | ||
using: "docker" | ||
image: "Dockerfile" | ||
inputs: | ||
github_token: | ||
description: "The GitHub token" | ||
required: false | ||
default: ${{ github.token }} | ||
repository_owner: | ||
description: "The GitHub repository owner" | ||
required: true | ||
|
||
branding: | ||
icon: "code" | ||
color: "black" |
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