Skip to content

DevDocs: Make the "Sensitive Files" GitHub Action more robust #76

Description

@palisadoes

Is your feature request related to a problem? Please describe.

  1. Our pull request GitHub action has a section that detects and fails when sensitive files are found to be submitted during PRs
    1. https://github.com/PalisadoesFoundation/developer-docs/blob/develop/.github/workflows/pull-request.yml
  2. If the required GitHub label is applied the test is skipped
  3. The test only works when a new commit is submitted, and not when the test is re-run
  4. The list of files is a string

Describe the solution you'd like

  1. Make the list of files in the GitHub action a list.
  2. Modify the test to work when both a new commit is submitted and also when the test is re-run
  3. Test this GitHub action in your own repository before submitting your PR

Additional context

  1. Test this GitHub action in your own repository before submitting your PR
  2. This has already been implemented in Talawa-Admin. Use the YAML from the PR for this issue and update the SENSITIVE_PATTERNS variable to match the needs of this repository.
    1. Admin: Make the "Sensitive Files" GitHub Action more robust talawa-admin#4292
    2. https://github.com/PalisadoesFoundation/talawa-admin/blob/develop/.github/workflows/pull-request.yml

Related Issues

Potential internship candidates

Please read this if you are planning to apply for a Palisadoes Foundation internship

Activity

  1. github-actions commented on Oct 29, 2025

    @github-actions

    This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

  2. added a commit that references this issue on Nov 3, 2025
    dd7ce43
  3. self-assigned this
    on Nov 3, 2025
  4. added a commit that references this issue on Nov 6, 2025
    bc0f053
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions