Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: create issue when Flat step fails #27

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

mattrothenberg
Copy link
Collaborator

Following a conversation on Slack, this PR aims to make QA of our (rather large) flat.yml action easier by adding a conditional step that files a GitHub issue after each Flat step.

By hooking into the if: failure() hook, we can conditionally run these "create issue" steps and populate the issue with data that should facilitate QA'ing failing steps.

mattrothenberg and others added 3 commits July 1, 2022 08:01
{
  "date": "2022-07-01T07:06:46.841Z",
  "files": [
    {
      "name": "data/population_electricity_coverage.xlsx",
      "deltaBytes": 1536,
      "source": "https://api.worldbank.org/v2/en/indicator/EG.ELC.ACCS.ZS?downloadformat=excel"
    },
    {
      "name": "processed/population_electricity_coverage.csv",
      "deltaBytes": -8,
      "source": "https://api.worldbank.org/v2/en/indicator/EG.ELC.ACCS.ZS?downloadformat=excel"
    },
    {
      "name": "data/population_density.xlsx",
      "deltaBytes": 6656,
      "source": "https://api.worldbank.org/v2/en/indicator/EN.POP.DNST?downloadformat=excel"
    },
    {
      "name": "processed/population_density.csv",
      "deltaBytes": 2837,
      "source": "https://api.worldbank.org/v2/en/indicator/EN.POP.DNST?downloadformat=excel"
    },
    {
      "name": "data/RD_Percentage_GDP.xlsx",
      "deltaBytes": 5120,
      "source": "https://api.worldbank.org/v2/en/indicator/GB.XPD.RSDV.GD.ZS?downloadformat=excel"
    },
    {
      "name": "processed/RD_Percentage_GDP.csv",
      "deltaBytes": 9942,
      "source": "https://api.worldbank.org/v2/en/indicator/GB.XPD.RSDV.GD.ZS?downloadformat=excel"
    }
  ]
}
palindaa pushed a commit that referenced this pull request Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants