Skip to content

Only run GitHub Actions if certain files were changed #506

@DavidoTek

Description

@DavidoTek

Currently, the tests are run for every push to a PR branch. Only run tests for changed files:

  • Only run AppSteam Metainfo Valdation if the metainfo XML file was changed
  • Only run PyTest if a .py file was changed

https://stackoverflow.com/a/63822945 :

on:
  push:
    paths:
      - folder1/**

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions