8000 Comparing v2.0.2...v2.1.0 · lycheeverse/lychee-action · GitHub
[go: up one dir, main page]

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: lycheeverse/lychee-action
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.2
Choose a base ref
...
head repository: lycheeverse/lychee-action
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.1.0
Choose a head ref
  • 3 commits
  • 5 files changed
  • 4 contributors

Commits on Oct 27, 2024

  1. Configuration menu
    Copy the full SHA
    ae46991 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2024

  1. Fix bugs about the exit code (#262)

    -   **fix: Make `fail: false` effective even when `failIfEmpty: true`**
    
    This commit also makes sure `outputs.exit_code` is “The exit code returned from Lychee”. `failIfEmpty` no longer changes it to `1`.
    
    Relevant docs:
    - [Setting exit codes for actions - GitHub Docs](https://docs.github.com/en/actions/sharing-automations/creating-actions/setting-exit-codes-for-actions)
    - [exit - POSIX Programmer's Manual](https://manned.org/exit.1posix)
    
    Relates to #86, #128, #145, #245, and #251.
    
    -   **fix: Update `env.exit_code` to `outputs.exit_code`**
    
    The previous expression always gives `false`.
    Both `env.exit_code` and `env.lychee_exit_code` are `null`, probably since the docker→composite refactor #128. When GitHub evaluates the expression, it finds the types do not match, and coerces them to number, namely, `null` → `0`.
    
    See [Evaluate expressions in workflows and actions - GitHub Docs](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/evaluate-expressions-in-workflows-and-actions#operators).
    
    Relates to #253.
    
    
    
    Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
    YDX-2147483647 and sebastiaanspeck authored Nov 7, 2024
    Configuration menu
    Copy the full SHA
    988c4c1 View commit details
    Browse the repository at this point in the history
  2. Bump version to 0.17.0 (#263)

    mre authored Nov 7, 2024
    Configuration menu
    Copy the full SHA
    f81112d View commit details
    Browse the repository at this point in the history
Loading
0