Code Monkey home page Code Monkey logo

adrenaline's Issues

Add usage documentation

Add some documentation on how to use the workflows. Maybe add some indicative badges as well

Find a way to simply specify local actions

When a reusable workflow uses local actions in the repo, but the workflow is called from a separate repo, the actions can't be located.

This thread explains things: https://stackoverflow.com/a/73238189

For example:

eshwen/adrenaline
├─ .github/
│  ├─ workflows/
│  │  ├─ python-quality-check.yml

├─ check-python/
│  ├─ action.yml

And python-quality-check.yml contained

...

jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Check code quality
        if: always()
        uses: ./check-python

...

If I ran the python-quality-check.yml from within the adrenaline repo itself, it would find the check-python action because the previous actions/checkout step would clone it.

However, this configuration won't work if I called python-quality-check.yml from another repo, since I would have to specifically clone a copy of adrenaline and make sure the paths are correct. But there's additional complexity because a GitHub Access Token has to be passed through to allow access to the repo (despite it being public)

It just adds too much complexity, so the simplest answer is to treat these local actions as if they are external to adrenaline. It adds some nuance, however, because if I don't actively maintain the versions of the actions and workflows properly, the workflow could call an outdated version of the action and not work correctly, unbeknownst to the user

Ideally, I want to fix this so that any reusable workflow in this repo that's called externally will always use the equivalent version of the action local to this repo

Set up automatic forking in ovotech

Ensure this repo can be forked to the ovotech org for posterity. Then I can update projects to use that fork instead of my personal account

Add pre-commit hooks

Add pre-commit hooks to ensure formatting and syntax are valid. As well as the built-in hooks (EOF, etc.), see if there are any specific GitHub Actions YAML verifiers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.