Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-5870

GitHub Actions deprecation of Node 12 - actions/checkout

    XMLWordPrintable

Description

    https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/

    We are seeing warnings in GitHub Actions pipelines like the below stating Node.js 12 actions are being deprecated in favor of Node.js 16.

    An example from https://github.com/debezium/debezium/actions/runs/3532544941 under the "Annotations" section is an example of the warning for the "Detect repository changes" stage

    ```
    Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout@v2, tj-actions/glob@v6
    ```

    The proposal is to upgrade to the latest version v3 that supports Node.js 16.

    There are a few instances of v1 usage, and https://github.com/actions/checkout/releases/tag/v2.0.0 has some changes that could be considered breaking. We'll have to evaluate and test each of those cases.

    The rest are v2 usage, and there appear to be no breaking changes between v2 and v3.

    https://github.com/actions/checkout/releases/tag/v3.0.0

    Attachments

      Activity

        People

          Unassigned Unassigned
          dude0001 Mark Lambert (Inactive)
          Votes:
          0 Vote for this issue
          Watchers:
          5 Start watching this issue

          Dates

            Created:
            Updated:
            Resolved: