Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Refactor GitHub Action structure and usage #143

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

JackPlowman
Copy link
Owner

@JackPlowman JackPlowman commented Oct 11, 2024

Pull Request

Description

This change introduces a new local GitHub Action and updates the existing action configuration. The main updates include:

  1. Added a new .github/actions/local/action.yml file, which defines a local GitHub Action for the GitHub Stats Analyser.

  2. Updated the dependabot.yml file to include the new local action directory for dependency updates.

  3. Modified the code-test.yml workflow to use the new local action instead of the root directory.

  4. Updated the README.md to remove the section about using a pre-built Docker image, as this option is no longer available.

  5. Changed the action.yml in the root directory to use a pre-built Docker image from the GitHub container registry instead of building from the Dockerfile.

These changes streamline the action's usage and maintenance, while ensuring that the latest pre-built image is always used when running the action.

fixes #144

@JackPlowman JackPlowman changed the title Use prebuilt image feat: Add option to use pre-built Docker image Oct 11, 2024
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Oct 11, 2024
Copy link
Owner Author

JackPlowman commented Oct 11, 2024

@JackPlowman JackPlowman marked this pull request as ready for review October 11, 2024 11:37
@JackPlowman JackPlowman force-pushed the 10-11-use_prebuilt_image branch from 1ce8a77 to 7c9d333 Compare October 11, 2024 11:46
@github-actions github-actions bot added the github_actions Pull requests that update GitHub Actions code label Oct 11, 2024
@JackPlowman JackPlowman force-pushed the 10-11-use_prebuilt_image branch 2 times, most recently from f3fbfc5 to b7acbb9 Compare October 11, 2024 12:05
@JackPlowman JackPlowman force-pushed the 10-11-use_prebuilt_image branch from b7acbb9 to a1b9879 Compare October 11, 2024 12:08
@JackPlowman JackPlowman changed the title feat: Add option to use pre-built Docker image chore: Refactor GitHub Action structure and usage Oct 11, 2024
Copy link

sonarcloud bot commented Oct 11, 2024

@JackPlowman JackPlowman merged commit fc7d2d6 into main Oct 11, 2024
32 checks passed
@JackPlowman JackPlowman deleted the 10-11-use_prebuilt_image branch October 11, 2024 15:26
JackPlowman added a commit that referenced this pull request Oct 20, 2024
🤖 I have created a release *beep* *boop*
---


##
[1.2.0](v1.1.0...v1.2.0)
(2024-10-20)


### 🚀 Features

* Add Debug Mode
([#160](#160))
([2249da5](2249da5)),
closes
[#159](#159)


### 📝 Documentation

* Update README with pre-built image and license info
([#136](#136))
([9ddc6f9](9ddc6f9)),
closes
[#137](#137)


### 🧰 Maintenance

* Add Configuration class and refactor repository retrieval
([#156](#156))
([15425e6](15425e6)),
closes
[#154](#154)
* Add setup-dependencies directory to Dependabot config
([#133](#133))
([44ec79d](44ec79d)),
closes
[#134](#134)
* Add test action and output validation
([#147](#147))
([040eaa8](040eaa8)),
closes
[#148](#148)
* Add version check workflow and version file
([#145](#145))
([19dd4aa](19dd4aa)),
closes
[#146](#146)
* Bump Python Version to Python 3.13
([#140](#140))
([3135efc](3135efc)),
closes
[#139](#139)
* Fix Docker image reference in action.yml
([#149](#149))
([bbfd6f1](bbfd6f1)),
closes
[#150](#150)
* Force color output in logs
([#164](#164))
([2d0d5da](2d0d5da)),
closes
[#163](#163)
* Optimise pre-commit hook for Python files
([#142](#142))
([8e48442](8e48442)),
closes
[#141](#141)
* Reduce log verbosity
([#165](#165))
([1c78547](1c78547)),
closes
[#162](#162)
* Reduce Verbose Logging
([#158](#158))
([94fea82](94fea82)),
closes
[#157](#157)
* Refactor GitHub Action structure and usage
([#143](#143))
([fc7d2d6](fc7d2d6)),
closes
[#144](#144)
* Simplify Docker build job name and description
([#166](#166))
([d94299f](d94299f)),
closes
[#167](#167)
* Update workflow trigger conditions
([#168](#168))
([f96a17a](f96a17a)),
closes
[#169](#169)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update action to use prebuilt image
1 participant