hackforla / lucky-parking

Visualization of parking data to assist in understanding of the effects of parking policies on a neighborhood by neighborhood basis in the City of Los Angeles
https://www.hackforla.org/projects/lucky-parking.html
33 stars 61 forks source link

[CICD] Create compliance workflow #636

Closed glenflorendo closed 7 months ago

glenflorendo commented 8 months ago

User Story

As a developer, I want to make sure we automate our compliance policies, so that we can easily manage/handle compliance issues.

Description

Create a new GitHub Action workflow in .github/workflows/compliance.yaml.

In this initial ticket, we want to make sure all pull requests are linked to an issue. If not, a comment will be posted to the pull request, tagging the author, to include a linked issue following GitHub conventions.

Acceptance Criteria

Technical References

t-will-gillis commented 7 months ago

Hi @glenflorendo -

glenflorendo commented 7 months ago
  • Regarding trigger types: the default triggers are PR opened, synchronize, and reopened and "open-sauced" adds edited. Which of the additional triggers such as (un-)labeled, (un-)assigned, etc might we also want?

Good question. Let's also include unassigned.

  • Can/ should this workflow follow a pattern similar to the Website workflows? For example, creating a /github-actions/ folder with js files supporting the workflow? (Just noticing that many of the Website workflows come from your commits 2 + years ago)

Let's aim to do things as simply as possible first. If we can't accomplish what we want, then we can have a helper files. We can store these in the same folder as the workflows.

t-will-gillis commented 7 months ago

Update 3/30/24: compliance.yaml ready for final testing. ETA for completion 3/31/24