AppImage / AppImage/appimage.github.io

Populate FILES variable if PR contains one file in data/

未关闭
#2,595 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Shell
星标
374
派生
769
平均合并
4 天 10 小时
30 天内合并 PR
8

描述

Populate `FILES` variable if PR contains one file in `data/`.

Currently often in PRs the `FILES` variable is empty when an existing PR gets updated by pressing the "Update branch" button or using Mergify, e.g., here for f578718:
https://github.com/AppImage/appimage.github.io/pull/2541

Log:
https://github.com/AppImage/appimage.github.io/runs/3149918916

In those situations, I manually have to go into the file in `data/` in the PR, make a trivial edit (e.g., add a line with a `#` in it) to trigger another test run where the changed file then is picked up in the `FILES` variable.

So we would somehow need to look at the PR and find out if file(s) in `data/` have been affected by the PR, and populate the `FILES` variable with them.

@andy5995 do you have an idea how to do that?

Without having this, using Mergify (which automates pressing the "Update branch" button) is of no actual use to us.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。