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

Output ends-with and starts-with inputs #1054

Closed
nitrocode opened this issue Sep 11, 2024 · 1 comment · Fixed by #1128
Closed

Output ends-with and starts-with inputs #1054

nitrocode opened this issue Sep 11, 2024 · 1 comment · Fixed by #1128

Comments

@nitrocode
Copy link

It would be nice to do this to keep things DRY

jobs:
  test:
    steps:
      - uses: int128/hide-comment-action@v1
        name: hide-comment
        with:
          ends-with: |
            <!-- test-notification -->

      - uses: int128/comment-action@v1
        with:
          run: yarn test
          post-on-failure: |
            ## :x: Test failure
            ```
            ${run.output}
            ```
-           <!-- test-notification -->
+           ${hide-comment.output.ends-with}
@nitrocode
Copy link
Author

Thank you!

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 a pull request may close this issue.

1 participant