Skip to content

mt-download-data.yml > trigger "sync code & data" if new data downloaded #656

Closed

Description

@mmathieum

In shared-overwrite/.github/workflows/mt-download-data.yml, let's also trigger mt-sync-code-data.yml if new file was just downloaded by shared-opt-dir/agency-parser/download.sh (even if current data is not outdated). To know that you can check for the MT_SKIP_PUSH_COMMIT environment variable to be false.
So basically in pseudo code:

if MT_SKIP_PUSH_COMMIT==true AND ./agency-parser/check_data_outdated.sh DO 
  nothing
ELSE 
  trigger workflow 
END

Activity

  1. added
    github_actions
    P2
    on Apr 11, 2026
  2. added theissue type on Apr 11, 2026
  3. changed the title [-]`mt-download-data.yml` > trigger sync code & date if new data downloaded[/-] [+]`mt-download-data.yml` > trigger `sync code & data` if new data downloaded[/+] on Apr 11, 2026
  4. changed the title [-]`mt-download-data.yml` > trigger `sync code & data` if new data downloaded[/-] [+]`mt-download-data.yml` > trigger **sync code & data** if new data downloaded[/+] on Apr 11, 2026
  5. changed the title [-]`mt-download-data.yml` > trigger **sync code & data** if new data downloaded[/-] [+]`mt-download-data.yml` > trigger "sync code & data" if new data downloaded[/+] on Apr 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

P2github_actions

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions