-
-
Notifications
You must be signed in to change notification settings - Fork 55
fix: Enable PR label updates alongside file output for plan operations #1758
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
Conversation
|
@suzuki-shunsuke Could you take a look at this too? |
|
Thank you! |
|
Oh wow, thanks for the refactoring! |
|
FYI: Today, following error happens and I guess this PR is cause. For followers, post error messages. |
|
@bigwheel |
|
Or |
|
Hmm. I'm wondering if |
|
@suzuki-shunsuke I agree this PR and I fixed above error by to I think no need to revert. |
|
Oh? This change affects |
|
@suzuki-shunsuke #1758 (comment) Finally, I append GITHUB_TOKEN. - name: tfcmt 2回目 (Slack投稿用に一時ファイルへ出力)
run: tfcmt -var "target:${{ matrix.working_directory }}" --config "$GITHUB_WORKSPACE/.github/tfcmt-for-slack-post.yml" --output apply.json apply -- cat apply_output.txt
env:
# https://github.com/suzuki-shunsuke/tfcmt/pull/1758
# で入ったらしきバグのworkaroundとしてやむなくgithub tokenを渡す。解決したら削除すること
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}This worked correctly. Problem causeI guess the cause is move of this. |



Description
This PR updates tfcmt to assign labels to pull requests even when the
--outputflag is used, as long as--disable-labelis not specified.Previously, specifying
--output caused tfcmt to skip label assignment. With this update, label assignment is decoupled from comment posting. Users who wish to disable labeling can still do so explicitly with--disable-label.Changes
--outputis specified (unless--disable-labelis set).--output.Check List
Require signed commits, so all commits must be signed