Git Product home page Git Product logo

glob's People

Contributors

actions-user avatar allcontributors[bot] avatar boidolr avatar dependabot[bot] avatar jackton1 avatar mmkal avatar renovate-bot avatar renovate[bot] avatar repo-ranger[bot] avatar tj-actions-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

glob's Issues

[BUG] Warnings about Node.js 16 actions being deprecated

Is there an existing issue for this?

  • I have searched the existing issues

Does this issue exist in the latest version?

  • I'm using the latest release

Describe the bug?

The following is a github action workflow that uses v19 of the glob action.

name: test tj-glob

on:
  workflow_dispatch

jobs:
  run-glob:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
      with:
        fetch-depth: 2

    - uses: tj-actions/glob@v19
      with:
        files: '*.md'

When I run this using the basic workflow, I get the following annotation in the log:

Node.js 16 actions are deprecated. Please update the
following actions to use Node.js 20: tj-actions/glob@v19. 
For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
image

This appears to be coming from tj-actions/glob.

To Reproduce

I have a workflow that invokes a GitHub Actions action, and that action calls tj-actions/glob, as described above. The workflow can be seen in GitHub at https://github.com/mhucka/test-baler/actions/runs/7663162158/workflow

What OS are you seeing the problem on?

ubuntu-latest or ubuntu-22.04

Expected behavior?

There should be no warning about using Node.js v16.

Relevant log output

2024-01-26T02:28:20.6047121Z Requested labels: ubuntu-latest
2024-01-26T02:28:20.6047597Z Job defined at: mhucka/test-baler/.github/workflows/test-glob.yml@refs/heads/main
2024-01-26T02:28:20.6047719Z Waiting for a runner to pick up this job...
2024-01-26T02:28:21.1144073Z Job is waiting for a hosted runner to come online.
2024-01-26T02:28:24.7347157Z Job is about to start running on the hosted runner: GitHub Actions 2 (hosted)
2024-01-26T02:28:26.9913781Z ##[debug]Starting: run-glob
2024-01-26T02:28:26.9938416Z ##[debug]Cleaning runner temp folder: /home/runner/work/_temp
2024-01-26T02:28:27.0185204Z ##[debug]Starting: Set up job
2024-01-26T02:28:27.0185806Z Current runner version: '2.312.0'
2024-01-26T02:28:27.0208797Z ##[group]Operating System
2024-01-26T02:28:27.0209379Z Ubuntu
2024-01-26T02:28:27.0209853Z 22.04.3
2024-01-26T02:28:27.0210147Z LTS
2024-01-26T02:28:27.0210492Z ##[endgroup]
2024-01-26T02:28:27.0210941Z ##[group]Runner Image
2024-01-26T02:28:27.0211370Z Image: ubuntu-22.04
2024-01-26T02:28:27.0211782Z Version: 20240122.3.0
2024-01-26T02:28:27.0212855Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20240122.3/images/ubuntu/Ubuntu2204-Readme.md
2024-01-26T02:28:27.0214310Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20240122.3
2024-01-26T02:28:27.0215203Z ##[endgroup]
2024-01-26T02:28:27.0215675Z ##[group]Runner Image Provisioner
2024-01-26T02:28:27.0216124Z 2.0.329.1
2024-01-26T02:28:27.0216637Z ##[endgroup]
2024-01-26T02:28:27.0217710Z ##[group]GITHUB_TOKEN Permissions
2024-01-26T02:28:27.0219434Z Contents: read
2024-01-26T02:28:27.0219871Z Metadata: read
2024-01-26T02:28:27.0220287Z Packages: read
2024-01-26T02:28:27.0220729Z ##[endgroup]
2024-01-26T02:28:27.0223820Z Secret source: Actions
2024-01-26T02:28:27.0224460Z ##[debug]Primary repository: mhucka/test-baler
2024-01-26T02:28:27.0225181Z Prepare workflow directory
2024-01-26T02:28:27.0291612Z ##[debug]Creating pipeline directory: '/home/runner/work/test-baler'
2024-01-26T02:28:27.0294879Z ##[debug]Creating workspace directory: '/home/runner/work/test-baler/test-baler'
2024-01-26T02:28:27.0296351Z ##[debug]Update context data
2024-01-26T02:28:27.0299913Z ##[debug]Evaluating job-level environment variables
2024-01-26T02:28:27.0782875Z ##[debug]Evaluating job container
2024-01-26T02:28:27.0786581Z ##[debug]Evaluating job service containers
2024-01-26T02:28:27.0788886Z ##[debug]Evaluating job defaults
2024-01-26T02:28:27.0860505Z Prepare all required actions
2024-01-26T02:28:27.1021851Z Getting action download info
2024-01-26T02:28:27.4386295Z Download action repository 'actions/checkout@v4' (SHA:b4ffde65f46336ab88eb53be808477a3936bae11)
2024-01-26T02:28:27.4424376Z ##[debug]Copied action archive '/opt/actionarchivecache/actions_checkout/b4ffde65f46336ab88eb53be808477a3936bae11.tar.gz' to '/home/runner/work/_actions/_temp_55d380fa-7b04-4512-a5a1-b8c46c9c3c85/4595b331-9b47-433c-b289-a93a603eabd5.tar.gz'
2024-01-26T02:28:27.5504138Z ##[debug]Unwrap 'actions-checkout-b4ffde6' to '/home/runner/work/_actions/actions/checkout/v4'
2024-01-26T02:28:27.5656011Z ##[debug]Archive '/home/runner/work/_actions/_temp_55d380fa-7b04-4512-a5a1-b8c46c9c3c85/4595b331-9b47-433c-b289-a93a603eabd5.tar.gz' has been unzipped into '/home/runner/work/_actions/actions/checkout/v4'.
2024-01-26T02:28:27.5782485Z Download action repository 'tj-actions/glob@v19' (SHA:dc0d0cd102647793d0b0d51863b996f0a21bae36)
2024-01-26T02:28:28.1615506Z ##[debug]Download 'https://api.github.com/repos/tj-actions/glob/tarball/dc0d0cd102647793d0b0d51863b996f0a21bae36' to '/home/runner/work/_actions/_temp_0b5c1283-49e7-4334-a8d8-2e28c99a4441/b3b69dc7-a2c9-40e2-a0cb-15edf6320e4c.tar.gz'
2024-01-26T02:28:28.1949664Z ##[debug]Unwrap 'tj-actions-glob-dc0d0cd' to '/home/runner/work/_actions/tj-actions/glob/v19'
2024-01-26T02:28:28.2040944Z ##[debug]Archive '/home/runner/work/_actions/_temp_0b5c1283-49e7-4334-a8d8-2e28c99a4441/b3b69dc7-a2c9-40e2-a0cb-15edf6320e4c.tar.gz' has been unzipped into '/home/runner/work/_actions/tj-actions/glob/v19'.
2024-01-26T02:28:28.2106786Z ##[debug]action.yml for action: '/home/runner/work/_actions/actions/checkout/v4/action.yml'.
2024-01-26T02:28:28.3121414Z ##[debug]action.yml for action: '/home/runner/work/_actions/tj-actions/glob/v19/action.yml'.
2024-01-26T02:28:28.3358501Z ##[debug]Set step '__actions_checkout' display name to: 'Run actions/checkout@v4'
2024-01-26T02:28:28.3361001Z ##[debug]Set step '__tj-actions_glob' display name to: 'Run tj-actions/glob@v19'
2024-01-26T02:28:28.3362384Z Complete job name: run-glob
2024-01-26T02:28:28.3374527Z ##[debug]Collect running processes for tracking orphan processes.
2024-01-26T02:28:28.3607291Z ##[debug]Finishing: Set up job
2024-01-26T02:28:28.3808505Z ##[debug]Evaluating condition for step: 'Run actions/checkout@v4'
2024-01-26T02:28:28.3854989Z ##[debug]Evaluating: success()
2024-01-26T02:28:28.3860591Z ##[debug]Evaluating success:
2024-01-26T02:28:28.3883794Z ##[debug]=> true
2024-01-26T02:28:28.3890916Z ##[debug]Result: true
2024-01-26T02:28:28.3924704Z ##[debug]Starting: Run actions/checkout@v4
2024-01-26T02:28:28.4036487Z ##[debug]Register post job cleanup for action: actions/checkout@v4
2024-01-26T02:28:28.4135714Z ##[debug]Loading inputs
2024-01-26T02:28:28.4172728Z ##[debug]Evaluating: github.repository
2024-01-26T02:28:28.4173919Z ##[debug]Evaluating Index:
2024-01-26T02:28:28.4176304Z ##[debug]..Evaluating github:
2024-01-26T02:28:28.4177584Z ##[debug]..=> Object
2024-01-26T02:28:28.4190208Z ##[debug]..Evaluating String:
2024-01-26T02:28:28.4191365Z ##[debug]..=> 'repository'
2024-01-26T02:28:28.4195208Z ##[debug]=> 'mhucka/test-baler'
2024-01-26T02:28:28.4196883Z ##[debug]Result: 'mhucka/test-baler'
2024-01-26T02:28:28.4199957Z ##[debug]Evaluating: github.token
2024-01-26T02:28:28.4200455Z ##[debug]Evaluating Index:
2024-01-26T02:28:28.4200851Z ##[debug]..Evaluating github:
2024-01-26T02:28:28.4201371Z ##[debug]..=> Object
2024-01-26T02:28:28.4201762Z ##[debug]..Evaluating String:
2024-01-26T02:28:28.4202175Z ##[debug]..=> 'token'
2024-01-26T02:28:28.4202978Z ##[debug]=> '***'
2024-01-26T02:28:28.4203532Z ##[debug]Result: '***'
2024-01-26T02:28:28.4216801Z ##[debug]Loading env
2024-01-26T02:28:28.4305566Z ##[group]Run actions/checkout@v4
2024-01-26T02:28:28.4306187Z with:
2024-01-26T02:28:28.4306508Z   fetch-depth: 2
2024-01-26T02:28:28.4306840Z   repository: mhucka/test-baler
2024-01-26T02:28:28.4307521Z   token: ***
2024-01-26T02:28:28.4307876Z   ssh-strict: true
2024-01-26T02:28:28.4308194Z   persist-credentials: true
2024-01-26T02:28:28.4308697Z   clean: true
2024-01-26T02:28:28.4309041Z   sparse-checkout-cone-mode: true
2024-01-26T02:28:28.4309428Z   fetch-tags: false
2024-01-26T02:28:28.4309870Z   show-progress: true
2024-01-26T02:28:28.4310210Z   lfs: false
2024-01-26T02:28:28.4310506Z   submodules: false
2024-01-26T02:28:28.4310930Z   set-safe-directory: true
2024-01-26T02:28:28.4311293Z ##[endgroup]
2024-01-26T02:28:28.6881877Z ##[debug]GITHUB_WORKSPACE = '/home/runner/work/test-baler/test-baler'
2024-01-26T02:28:28.6883901Z ##[debug]qualified repository = 'mhucka/test-baler'
2024-01-26T02:28:28.6885632Z ##[debug]ref = 'refs/heads/main'
2024-01-26T02:28:28.6886956Z ##[debug]commit = '65570a4488330085d4f3737c09bacb7787f1a00e'
2024-01-26T02:28:28.6888480Z ##[debug]clean = true
2024-01-26T02:28:28.6889566Z ##[debug]filter = undefined
2024-01-26T02:28:28.6890805Z ##[debug]fetch depth = 2
2024-01-26T02:28:28.6891903Z ##[debug]fetch tags = false
2024-01-26T02:28:28.6893067Z ##[debug]show progress = true
2024-01-26T02:28:28.6894184Z ##[debug]lfs = false
2024-01-26T02:28:28.6895360Z ##[debug]submodules = false
2024-01-26T02:28:28.6896509Z ##[debug]recursive submodules = false
2024-01-26T02:28:28.6897896Z ##[debug]GitHub Host URL = 
2024-01-26T02:28:28.6900153Z ::add-matcher::/home/runner/work/_actions/actions/checkout/v4/dist/problem-matcher.json
2024-01-26T02:28:28.7007003Z ##[debug]Added matchers: 'checkout-git'. Problem matchers scan action output for known warning or error strings and report these inline.
2024-01-26T02:28:28.7016442Z Syncing repository: mhucka/test-baler
2024-01-26T02:28:28.7017745Z ::group::Getting Git version info
2024-01-26T02:28:28.7019081Z ##[group]Getting Git version info
2024-01-26T02:28:28.7019790Z Working directory is '/home/runner/work/test-baler/test-baler'
2024-01-26T02:28:28.7020751Z ##[debug]Getting git version
2024-01-26T02:28:28.7021190Z [command]/usr/bin/git version
2024-01-26T02:28:28.7029433Z git version 2.43.0
2024-01-26T02:28:28.7053591Z ##[debug]0
2024-01-26T02:28:28.7054636Z ##[debug]git version 2.43.0
2024-01-26T02:28:28.7056069Z ##[debug]
2024-01-26T02:28:28.7057419Z ##[debug]Set git useragent to: git/2.43.0 (github-actions-checkout)
2024-01-26T02:28:28.7058992Z ::endgroup::
2024-01-26T02:28:28.7059725Z ##[endgroup]
2024-01-26T02:28:28.7079720Z ::add-mask::***
2024-01-26T02:28:28.7082278Z Temporarily overriding HOME='/home/runner/work/_temp/ef016a54-490a-41b0-bc9d-1a0a99a4931d' before making global git config changes
2024-01-26T02:28:28.7084627Z Adding repository directory to the temporary git global config as a safe directory
2024-01-26T02:28:28.7086387Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/test-baler/test-baler
2024-01-26T02:28:28.7116382Z ##[debug]0
2024-01-26T02:28:28.7117434Z ##[debug]
2024-01-26T02:28:28.7123137Z Deleting the contents of '/home/runner/work/test-baler/test-baler'
2024-01-26T02:28:28.7131980Z ::group::Initializing the repository
2024-01-26T02:28:28.7132877Z ##[group]Initializing the repository
2024-01-26T02:28:28.7135897Z [command]/usr/bin/git init /home/runner/work/test-baler/test-baler
2024-01-26T02:28:28.7233597Z hint: Using 'master' as the name for the initial branch. This default branch name
2024-01-26T02:28:28.7235083Z hint: is subject to change. To configure the initial branch name to use in all
2024-01-26T02:28:28.7236502Z hint: of your new repositories, which will suppress this warning, call:
2024-01-26T02:28:28.7237728Z hint: 
2024-01-26T02:28:28.7238559Z hint: 	git config --global init.defaultBranch <name>
2024-01-26T02:28:28.7239411Z hint: 
2024-01-26T02:28:28.7240487Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
2024-01-26T02:28:28.7241586Z hint: 'development'. The just-created branch can be renamed via this command:
2024-01-26T02:28:28.7242641Z hint: 
2024-01-26T02:28:28.7243462Z hint: 	git branch -m <name>
2024-01-26T02:28:28.7246415Z Initialized empty Git repository in /home/runner/work/test-baler/test-baler/.git/
2024-01-26T02:28:28.7252419Z ##[debug]0
2024-01-26T02:28:28.7253348Z ##[debug]Initialized empty Git repository in /home/runner/work/test-baler/test-baler/.git/
2024-01-26T02:28:28.7253956Z ##[debug]
2024-01-26T02:28:28.7257804Z [command]/usr/bin/git remote add origin https://github.com/mhucka/test-baler
2024-01-26T02:28:28.7294073Z ##[debug]0
2024-01-26T02:28:28.7294834Z ##[debug]
2024-01-26T02:28:28.7295556Z ::endgroup::
2024-01-26T02:28:28.7295942Z ##[endgroup]
2024-01-26T02:28:28.7296551Z ::group::Disabling automatic garbage collection
2024-01-26T02:28:28.7297126Z ##[group]Disabling automatic garbage collection
2024-01-26T02:28:28.7298122Z [command]/usr/bin/git config --local gc.auto 0
2024-01-26T02:28:28.7326449Z ##[debug]0
2024-01-26T02:28:28.7327264Z ##[debug]
2024-01-26T02:28:28.7327803Z ::endgroup::
2024-01-26T02:28:28.7328180Z ##[endgroup]
2024-01-26T02:28:28.7328716Z ::group::Setting up auth
2024-01-26T02:28:28.7329337Z ##[group]Setting up auth
2024-01-26T02:28:28.7332614Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2024-01-26T02:28:28.7356770Z ##[debug]1
2024-01-26T02:28:28.7357554Z ##[debug]
2024-01-26T02:28:28.7361647Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2024-01-26T02:28:28.7720069Z ##[debug]0
2024-01-26T02:28:28.7721241Z ##[debug]
2024-01-26T02:28:28.7726020Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2024-01-26T02:28:28.7751397Z ##[debug]1
2024-01-26T02:28:28.7752357Z ##[debug]
2024-01-26T02:28:28.7757108Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2024-01-26T02:28:28.7989204Z ##[debug]0
2024-01-26T02:28:28.7990553Z ##[debug]
2024-01-26T02:28:28.7997368Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
2024-01-26T02:28:28.8026481Z ##[debug]0
2024-01-26T02:28:28.8027510Z ##[debug]
2024-01-26T02:28:28.8033545Z ::endgroup::
2024-01-26T02:28:28.8034188Z ##[endgroup]
2024-01-26T02:28:28.8035575Z ::group::Fetching the repository
2024-01-26T02:28:28.8036583Z ##[group]Fetching the repository
2024-01-26T02:28:28.8044990Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=2 origin +65570a4488330085d4f3737c09bacb7787f1a00e:refs/remotes/origin/main
2024-01-26T02:28:29.1801349Z From https://github.com/mhucka/test-baler
2024-01-26T02:28:29.1802940Z  * [new ref]         65570a4488330085d4f3737c09bacb7787f1a00e -> origin/main
2024-01-26T02:28:29.1829167Z ##[debug]0
2024-01-26T02:28:29.1830675Z ##[debug]
2024-01-26T02:28:29.1832177Z ::endgroup::
2024-01-26T02:28:29.1832778Z ##[endgroup]
2024-01-26T02:28:29.1833755Z ::group::Determining the checkout info
2024-01-26T02:28:29.1834621Z ##[group]Determining the checkout info
2024-01-26T02:28:29.1835717Z ::endgroup::
2024-01-26T02:28:29.1836372Z ##[endgroup]
2024-01-26T02:28:29.1837286Z ::group::Checking out the ref
2024-01-26T02:28:29.1837972Z ##[group]Checking out the ref
2024-01-26T02:28:29.1839365Z [command]/usr/bin/git checkout --progress --force -B main refs/remotes/origin/main
2024-01-26T02:28:29.1947140Z Switched to a new branch 'main'
2024-01-26T02:28:29.1948467Z branch 'main' set up to track 'origin/main'.
2024-01-26T02:28:29.1955482Z ##[debug]0
2024-01-26T02:28:29.1956808Z ##[debug]branch 'main' set up to track 'origin/main'.
2024-01-26T02:28:29.1957907Z ##[debug]
2024-01-26T02:28:29.1958749Z ::endgroup::
2024-01-26T02:28:29.1959319Z ##[endgroup]
2024-01-26T02:28:29.1995642Z ##[debug]0
2024-01-26T02:28:29.1997226Z ##[debug]commit 65570a4488330085d4f3737c09bacb7787f1a00e
2024-01-26T02:28:29.1998120Z ##[debug]Author: Michael Hucka <[email protected]>
2024-01-26T02:28:29.1999324Z ##[debug]Date:   Thu Jan 25 18:20:40 2024 -0800
2024-01-26T02:28:29.2000168Z ##[debug]
2024-01-26T02:28:29.2000704Z ##[debug]    Simplify workflow
2024-01-26T02:28:29.2001629Z ##[debug]
2024-01-26T02:28:29.2002488Z [command]/usr/bin/git log -1 --format='%H'
2024-01-26T02:28:29.2027339Z '65570a4488330085d4f3737c09bacb7787f1a00e'
2024-01-26T02:28:29.2033051Z ##[debug]0
2024-01-26T02:28:29.2034143Z ##[debug]'65570a4488330085d4f3737c09bacb7787f1a00e'
2024-01-26T02:28:29.2034968Z ##[debug]
2024-01-26T02:28:29.2040651Z ##[debug]Unsetting HOME override
2024-01-26T02:28:29.2053237Z ::remove-matcher owner=checkout-git::
2024-01-26T02:28:29.2082310Z ##[debug]Removed matchers: 'checkout-git'
2024-01-26T02:28:29.2194671Z ##[debug]Node Action run completed with exit code 0
2024-01-26T02:28:29.2310064Z ##[debug]Save intra-action state isPost = true
2024-01-26T02:28:29.2310876Z ##[debug]Save intra-action state setSafeDirectory = true
2024-01-26T02:28:29.2311595Z ##[debug]Save intra-action state repositoryPath = /home/runner/work/test-baler/test-baler
2024-01-26T02:28:29.2321670Z ##[debug]Finishing: Run actions/checkout@v4
2024-01-26T02:28:29.2334719Z ##[debug]Evaluating condition for step: 'Run tj-actions/glob@v19'
2024-01-26T02:28:29.2337957Z ##[debug]Evaluating: success()
2024-01-26T02:28:29.2338638Z ##[debug]Evaluating success:
2024-01-26T02:28:29.2339232Z ##[debug]=> true
2024-01-26T02:28:29.2339954Z ##[debug]Result: true
2024-01-26T02:28:29.2340896Z ##[debug]Starting: Run tj-actions/glob@v19
2024-01-26T02:28:29.2381070Z ##[debug]Register post job cleanup for action: tj-actions/glob@v19
2024-01-26T02:28:29.2395981Z ##[debug]Loading inputs
2024-01-26T02:28:29.2415592Z ##[debug]Evaluating: github.event.pull_request.base.ref
2024-01-26T02:28:29.2416496Z ##[debug]Evaluating Index:
2024-01-26T02:28:29.2417276Z ##[debug]..Evaluating Index:
2024-01-26T02:28:29.2417896Z ##[debug]....Evaluating Index:
2024-01-26T02:28:29.2418803Z ##[debug]......Evaluating Index:
2024-01-26T02:28:29.2419555Z ##[debug]........Evaluating github:
2024-01-26T02:28:29.2420280Z ##[debug]........=> Object
2024-01-26T02:28:29.2421378Z ##[debug]........Evaluating String:
2024-01-26T02:28:29.2421824Z ##[debug]........=> 'event'
2024-01-26T02:28:29.2422488Z ##[debug]......=> Object
2024-01-26T02:28:29.2423019Z ##[debug]......Evaluating String:
2024-01-26T02:28:29.2423512Z ##[debug]......=> 'pull_request'
2024-01-26T02:28:29.2424154Z ##[debug]....=> null
2024-01-26T02:28:29.2424518Z ##[debug]..=> null
2024-01-26T02:28:29.2424893Z ##[debug]=> null
2024-01-26T02:28:29.2425333Z ##[debug]Result: null
2024-01-26T02:28:29.2428555Z ##[debug]Evaluating: github.event.pull_request.head.repo.fork
2024-01-26T02:28:29.2429244Z ##[debug]Evaluating Index:
2024-01-26T02:28:29.2429685Z ##[debug]..Evaluating Index:
2024-01-26T02:28:29.2430093Z ##[debug]....Evaluating Index:
2024-01-26T02:28:29.2430586Z ##[debug]......Evaluating Index:
2024-01-26T02:28:29.2430979Z ##[debug]........Evaluating Index:
2024-01-26T02:28:29.2431436Z ##[debug]..........Evaluating github:
2024-01-26T02:28:29.2431973Z ##[debug]..........=> Object
2024-01-26T02:28:29.2432374Z ##[debug]..........Evaluating String:
2024-01-26T02:28:29.2432842Z ##[debug]..........=> 'event'
2024-01-26T02:28:29.2433342Z ##[debug]........=> Object
2024-01-26T02:28:29.2433745Z ##[debug]........Evaluating String:
2024-01-26T02:28:29.2434161Z ##[debug]........=> 'pull_request'
2024-01-26T02:28:29.2434702Z ##[debug]......=> null
2024-01-26T02:28:29.2435078Z ##[debug]....=> null
2024-01-26T02:28:29.2435454Z ##[debug]..=> null
2024-01-26T02:28:29.2435853Z ##[debug]=> null
2024-01-26T02:28:29.2436228Z ##[debug]Result: null
2024-01-26T02:28:29.2437890Z ##[debug]Evaluating: github.sha
2024-01-26T02:28:29.2438323Z ##[debug]Evaluating Index:
2024-01-26T02:28:29.2438715Z ##[debug]..Evaluating github:
2024-01-26T02:28:29.2439214Z ##[debug]..=> Object
2024-01-26T02:28:29.2439576Z ##[debug]..Evaluating String:
2024-01-26T02:28:29.2439967Z ##[debug]..=> 'sha'
2024-01-26T02:28:29.2440539Z ##[debug]=> '65570a4488330085d4f3737c09bacb7787f1a00e'
2024-01-26T02:28:29.2441132Z ##[debug]Result: '65570a4488330085d4f3737c09bacb7787f1a00e'
2024-01-26T02:28:29.2444947Z ##[debug]Loading env
2024-01-26T02:28:29.2452309Z ##[group]Run tj-actions/glob@v19
2024-01-26T02:28:29.2452676Z with:
2024-01-26T02:28:29.2453080Z   files: *.md
2024-01-26T02:28:29.2453413Z   files-separator: 

2024-01-26T02:28:29.2453748Z   excluded-files-separator: 

2024-01-26T02:28:29.2454255Z   files-from-source-file-separator: 

2024-01-26T02:28:29.2454744Z   excluded-files-from-source-file-separator: 

2024-01-26T02:28:29.2455182Z   follow-symbolic-links: true
2024-01-26T02:28:29.2455673Z   match-directories: true
2024-01-26T02:28:29.2456051Z   match-gitignore-files: false
2024-01-26T02:28:29.2456409Z   separator:  
2024-01-26T02:28:29.2456812Z   escape-paths: true
2024-01-26T02:28:29.2457178Z   strip-top-level-dir: true
2024-01-26T02:28:29.2457546Z   include-deleted-files: false
2024-01-26T02:28:29.2458039Z   sha: 65570a4488330085d4f3737c09bacb7787f1a00e
2024-01-26T02:28:29.2458479Z   working-directory: .
2024-01-26T02:28:29.2458806Z ##[endgroup]
2024-01-26T02:28:29.4452410Z ##[debug]file patterns: *.md
2024-01-26T02:28:29.4458228Z ##[debug]file patterns: /home/runner/work/test-baler/test-baler/*.md
2024-01-26T02:28:29.4459392Z ##[debug]!/home/runner/work/test-baler/test-baler/.git/**
2024-01-26T02:28:29.4460599Z ##[debug]!/home/runner/work/test-baler/test-baler/**/node_modules/**
2024-01-26T02:28:29.4461801Z ##[debug]!/home/runner/work/test-baler/test-baler/node_modules/**
2024-01-26T02:28:29.4463260Z ##[debug]followSymbolicLinks 'true'
2024-01-26T02:28:29.4464676Z ##[debug]matchDirectories 'true'
2024-01-26T02:28:29.4497905Z ##[debug]followSymbolicLinks 'true'
2024-01-26T02:28:29.4499391Z ##[debug]implicitDescendants 'true'
2024-01-26T02:28:29.4500623Z ##[debug]matchDirectories 'true'
2024-01-26T02:28:29.4502111Z ##[debug]omitBrokenSymbolicLinks 'true'
2024-01-26T02:28:29.4503613Z ##[debug]Search path '/home/runner/work/test-baler/test-baler'
2024-01-26T02:28:29.4572165Z Successfully created paths-output-file: /tmp/afe6cc99-7c79-4027-b19d-14415f35d317.txt
2024-01-26T02:28:29.5158372Z ##[debug]Node Action run completed with exit code 0
2024-01-26T02:28:29.5162207Z ##[debug]Save intra-action state paths-output-file = /tmp/afe6cc99-7c79-4027-b19d-14415f35d317.txt
2024-01-26T02:28:29.5165912Z ##[debug]Set output paths-output-file = /tmp/afe6cc99-7c79-4027-b19d-14415f35d317.txt
2024-01-26T02:28:29.5166695Z ##[debug]Set output paths = FOO.md
2024-01-26T02:28:29.5167183Z ##[debug]Set output has-custom-patterns = true
2024-01-26T02:28:29.5168411Z ##[debug]Finishing: Run tj-actions/glob@v19
2024-01-26T02:28:29.5177845Z ##[debug]Evaluating condition for step: 'Post Run tj-actions/glob@v19'
2024-01-26T02:28:29.5180402Z ##[debug]Evaluating: always()
2024-01-26T02:28:29.5181093Z ##[debug]Evaluating always:
2024-01-26T02:28:29.5182168Z ##[debug]=> true
2024-01-26T02:28:29.5183007Z ##[debug]Result: true
2024-01-26T02:28:29.5184011Z ##[debug]Starting: Post Run tj-actions/glob@v19
2024-01-26T02:28:29.5232222Z ##[debug]Loading inputs
2024-01-26T02:28:29.5245667Z ##[debug]Evaluating: github.event.pull_request.base.ref
2024-01-26T02:28:29.5246331Z ##[debug]Evaluating Index:
2024-01-26T02:28:29.5246761Z ##[debug]..Evaluating Index:
2024-01-26T02:28:29.5247245Z ##[debug]....Evaluating Index:
2024-01-26T02:28:29.5247618Z ##[debug]......Evaluating Index:
2024-01-26T02:28:29.5248048Z ##[debug]........Evaluating github:
2024-01-26T02:28:29.5248556Z ##[debug]........=> Object
2024-01-26T02:28:29.5248963Z ##[debug]........Evaluating String:
2024-01-26T02:28:29.5249366Z ##[debug]........=> 'event'
2024-01-26T02:28:29.5249966Z ##[debug]......=> Object
2024-01-26T02:28:29.5250352Z ##[debug]......Evaluating String:
2024-01-26T02:28:29.5250762Z ##[debug]......=> 'pull_request'
2024-01-26T02:28:29.5251274Z ##[debug]....=> null
2024-01-26T02:28:29.5251651Z ##[debug]..=> null
2024-01-26T02:28:29.5251965Z ##[debug]=> null
2024-01-26T02:28:29.5252393Z ##[debug]Result: null
2024-01-26T02:28:29.5254098Z ##[debug]Evaluating: github.event.pull_request.head.repo.fork
2024-01-26T02:28:29.5254678Z ##[debug]Evaluating Index:
2024-01-26T02:28:29.5255041Z ##[debug]..Evaluating Index:
2024-01-26T02:28:29.5255531Z ##[debug]....Evaluating Index:
2024-01-26T02:28:29.5255950Z ##[debug]......Evaluating Index:
2024-01-26T02:28:29.5256356Z ##[debug]........Evaluating Index:
2024-01-26T02:28:29.5256803Z ##[debug]..........Evaluating github:
2024-01-26T02:28:29.5257267Z ##[debug]..........=> Object
2024-01-26T02:28:29.5257663Z ##[debug]..........Evaluating String:
2024-01-26T02:28:29.5258125Z ##[debug]..........=> 'event'
2024-01-26T02:28:29.5258570Z ##[debug]........=> Object
2024-01-26T02:28:29.5258955Z ##[debug]........Evaluating String:
2024-01-26T02:28:29.5259467Z ##[debug]........=> 'pull_request'
2024-01-26T02:28:29.5259852Z ##[debug]......=> null
2024-01-26T02:28:29.5260214Z ##[debug]....=> null
2024-01-26T02:28:29.5260661Z ##[debug]..=> null
2024-01-26T02:28:29.5261017Z ##[debug]=> null
2024-01-26T02:28:29.5261324Z ##[debug]Result: null
2024-01-26T02:28:29.5262853Z ##[debug]Evaluating: github.sha
2024-01-26T02:28:29.5263259Z ##[debug]Evaluating Index:
2024-01-26T02:28:29.5263787Z ##[debug]..Evaluating github:
2024-01-26T02:28:29.5264203Z ##[debug]..=> Object
2024-01-26T02:28:29.5264588Z ##[debug]..Evaluating String:
2024-01-26T02:28:29.5265018Z ##[debug]..=> 'sha'
2024-01-26T02:28:29.5265467Z ##[debug]=> '65570a4488330085d4f3737c09bacb7787f1a00e'
2024-01-26T02:28:29.5266058Z ##[debug]Result: '65570a4488330085d4f3737c09bacb7787f1a00e'
2024-01-26T02:28:29.5269235Z ##[debug]Loading env
2024-01-26T02:28:29.5275386Z Post job cleanup.
2024-01-26T02:28:29.6061597Z deleted paths-output-file: /tmp/afe6cc99-7c79-4027-b19d-14415f35d317.txt
2024-01-26T02:28:29.6641646Z ##[debug]Node Action run completed with exit code 0
2024-01-26T02:28:29.6646934Z ##[debug]Finishing: Post Run tj-actions/glob@v19
2024-01-26T02:28:29.6662776Z ##[debug]Evaluating condition for step: 'Post Run actions/checkout@v4'
2024-01-26T02:28:29.6665812Z ##[debug]Evaluating: always()
2024-01-26T02:28:29.6666830Z ##[debug]Evaluating always:
2024-01-26T02:28:29.6667849Z ##[debug]=> true
2024-01-26T02:28:29.6668861Z ##[debug]Result: true
2024-01-26T02:28:29.6670575Z ##[debug]Starting: Post Run actions/checkout@v4
2024-01-26T02:28:29.6739652Z ##[debug]Loading inputs
2024-01-26T02:28:29.6742273Z ##[debug]Evaluating: github.repository
2024-01-26T02:28:29.6743149Z ##[debug]Evaluating Index:
2024-01-26T02:28:29.6744158Z ##[debug]..Evaluating github:
2024-01-26T02:28:29.6744905Z ##[debug]..=> Object
2024-01-26T02:28:29.6745782Z ##[debug]..Evaluating String:
2024-01-26T02:28:29.6746525Z ##[debug]..=> 'repository'
2024-01-26T02:28:29.6747259Z ##[debug]=> 'mhucka/test-baler'
2024-01-26T02:28:29.6748139Z ##[debug]Result: 'mhucka/test-baler'
2024-01-26T02:28:29.6751891Z ##[debug]Evaluating: github.token
2024-01-26T02:28:29.6752751Z ##[debug]Evaluating Index:
2024-01-26T02:28:29.6753423Z ##[debug]..Evaluating github:
2024-01-26T02:28:29.6754307Z ##[debug]..=> Object
2024-01-26T02:28:29.6754998Z ##[debug]..Evaluating String:
2024-01-26T02:28:29.6755638Z ##[debug]..=> 'token'
2024-01-26T02:28:29.6756876Z ##[debug]=> '***'
2024-01-26T02:28:29.6757790Z ##[debug]Result: '***'
2024-01-26T02:28:29.6777804Z ##[debug]Loading env
2024-01-26T02:28:29.6788743Z Post job cleanup.
2024-01-26T02:28:29.7602966Z ##[debug]Getting git version
2024-01-26T02:28:29.7621245Z [command]/usr/bin/git version
2024-01-26T02:28:29.7667774Z git version 2.43.0
2024-01-26T02:28:29.7695170Z ##[debug]0
2024-01-26T02:28:29.7696824Z ##[debug]git version 2.43.0
2024-01-26T02:28:29.7697465Z ##[debug]
2024-01-26T02:28:29.7768480Z ##[debug]Set git useragent to: git/2.43.0 (github-actions-checkout)
2024-01-26T02:28:29.7770367Z ::add-mask::***
2024-01-26T02:28:29.7772935Z Temporarily overriding HOME='/home/runner/work/_temp/06419f2a-f612-4796-8051-da6642d578d6' before making global git config changes
2024-01-26T02:28:29.7774828Z Adding repository directory to the temporary git global config as a safe directory
2024-01-26T02:28:29.7776523Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/test-baler/test-baler
2024-01-26T02:28:29.7784594Z ##[debug]0
2024-01-26T02:28:29.7785460Z ##[debug]
2024-01-26T02:28:29.7786273Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2024-01-26T02:28:29.7809481Z ##[debug]1
2024-01-26T02:28:29.7810637Z ##[debug]
2024-01-26T02:28:29.7815416Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2024-01-26T02:28:29.8065663Z ##[debug]0
2024-01-26T02:28:29.8066713Z ##[debug]
2024-01-26T02:28:29.8069646Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2024-01-26T02:28:29.8094308Z http.https://github.com/.extraheader
2024-01-26T02:28:29.8101261Z ##[debug]0
2024-01-26T02:28:29.8102330Z ##[debug]http.https://github.com/.extraheader
2024-01-26T02:28:29.8103149Z ##[debug]
2024-01-26T02:28:29.8105867Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2024-01-26T02:28:29.8132309Z ##[debug]0
2024-01-26T02:28:29.8133326Z ##[debug]
2024-01-26T02:28:29.8137087Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2024-01-26T02:28:29.8373176Z ##[debug]0
2024-01-26T02:28:29.8373916Z ##[debug]
2024-01-26T02:28:29.8374689Z ##[debug]Unsetting HOME override
2024-01-26T02:28:29.8464073Z ##[debug]Node Action run completed with exit code 0
2024-01-26T02:28:29.8467086Z ##[debug]Finishing: Post Run actions/checkout@v4
2024-01-26T02:28:29.8609534Z ##[debug]Starting: Complete job
2024-01-26T02:28:29.8612199Z Uploading runner diagnostic logs
2024-01-26T02:28:29.8662073Z ##[debug]Starting diagnostic file upload.
2024-01-26T02:28:29.8662642Z ##[debug]Setting up diagnostic log folders.
2024-01-26T02:28:29.8665401Z ##[debug]Creating diagnostic log files folder.
2024-01-26T02:28:29.8683198Z ##[debug]Copying 1 worker diagnostic logs.
2024-01-26T02:28:29.8700639Z ##[debug]Copying 1 runner diagnostic logs.
2024-01-26T02:28:29.8702736Z ##[debug]Zipping diagnostic files.
2024-01-26T02:28:29.8753119Z ##[debug]Uploading diagnostic metadata file.
2024-01-26T02:28:29.8775005Z ##[debug]Diagnostic file upload complete.
2024-01-26T02:28:29.8775873Z Completed runner diagnostic log upload
2024-01-26T02:28:29.8776311Z Cleaning up orphan processes
2024-01-26T02:28:29.9160446Z ##[debug]Finishing: Complete job
2024-01-26T02:28:29.9281576Z ##[debug]Finishing: run-glob

Has all relevant logs been included?

  • I've included all relevant logs

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

[BUG] Brace expansion causes grep: : No such file or directory

Is there an existing issue for this?

  • I have searched the existing issues

Does this issue exist in the latest version?

  • I'm using the latest release

Describe the bug?

When I use braces to specify several filenames in the pattern (e.g. **/*.{ts,tsx}), I get the grep: : No such file or directory error, similar to what was described in tj-actions/changed-files#795.

If I manually expand the pattern into several patterns, it works.

I should also note that this error message is very cryptic, I spent a lot of time trying to figure out what went wrong.

To Reproduce

  1. With ubuntu-latest, check out the repo with depth 2 and try scanning for changed files that match the pattern **/*.{ts,tsx}
  2. See the changed-files action fail

What OS are you seeing the problem on?

ubuntu-latest or ubuntu-20.04

Expected behavior?

I expected the brace expansion to work like it does with minimatch.

Relevant log output

Run tj-actions/changed-files@ca8881ae34b5c14a5d604cc8eac1e791d74a6809
  with:
    files: **/*.{js,jsx,ts,tsx,css,scss,html,md,yaml,yml}
  
    separator:  
    include_all_old_new_renamed_files: false
    old_new_separator: ,
    old_new_files_separator:  
    files_separator: 
  
    files_ignore_separator: 
  
    path: .
    quotepath: true
    dir_names: false
    json: false
    json_raw_format: false
    fetch_depth: 50
    since_last_remote_commit: false
    write_output_files: false
    output_dir: .github/outputs
    match_directories: true
Run # "Calculating the previous and current SHA..."
  # "Calculating the previous and current SHA..."
  bash $GITHUB_ACTION_PATH/diff-sha.sh
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    GITHUB_SERVER_URL: https://github.com
    GITHUB_REPOSITORY: illright/changed-files-grep-repro
    GITHUB_REF: refs/heads/main
    GITHUB_SHA: 69b1ecd0604dfeee046e6c66e25e1b99c389e3a6
    GITHUB_WORKSPACE: /home/runner/work/changed-files-grep-repro/changed-files-grep-repro
    GITHUB_EVENT_HEAD_REPO_FORK: 
    GITHUB_EVENT_PULL_REQUEST_NUMBER: 
    GITHUB_EVENT_PULL_REQUEST_BASE_REF: 
    GITHUB_EVENT_PULL_REQUEST_HEAD_REF: 
    GITHUB_EVENT_PULL_REQUEST_BASE_SHA: 
    GITHUB_EVENT_PULL_REQUEST_HEAD_SHA: 
    GITHUB_EVENT_PULL_REQUEST_COMMITS: 
    GITHUB_EVENT_BEFORE: 1400f2e93dd599eeae67c862a8d55e05bb7ebda1
    GITHUB_EVENT_FORCED: false
    GITHUB_REFNAME: main
    INPUT_SHA: 
    INPUT_BASE_SHA: 
    INPUT_SINCE: 
    INPUT_UNTIL: 
    INPUT_PATH: .
    INPUT_FETCH_DEPTH: 50
    INPUT_SINCE_LAST_REMOTE_COMMIT: false
changed-files-diff-sha
  Verifying git version...
  Valid git version found: (2.39.0)
  Running on a push event...
  Fetching remote refs...
  remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0        
  From https://github.com/illright/changed-files-grep-repro
   * branch            main       -> FETCH_HEAD
Run tj-actions/glob@v16
  with:
    files: **/*.{js,jsx,ts,tsx,css,scss,html,md,yaml,yml}
  
    files-separator: 
  
    excluded-files-separator: 
  
    escape-paths: true
    working-directory: .
    base-sha: 1400f2e93dd599eeae67c862a8d55e05bb7ebda1
    sha: 69b1ecd0604dfeee046e6c66e25e1b99c389e3a6
    diff: ..
    match-directories: true
    include-deleted-files: true
    separator: |
    files-from-source-file-separator: 
  
    excluded-files-from-source-file-separator: 
  
    follow-symbolic-links: true
    match-gitignore-files: false
    strip-top-level-dir: true
/usr/bin/git rev-parse --show-toplevel
/home/runner/work/changed-files-grep-repro/changed-files-grep-repro
/usr/bin/git diff --diff-filter=D --name-only 1400f2e93dd599eeae67c862a8d55e05bb7ebda1..69b1ecd0604dfeee046e6c66e25e1b99c389e3a6
Run bash $GITHUB_ACTION_PATH/get-changed-paths.sh
  bash $GITHUB_ACTION_PATH/get-changed-paths.sh
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    GITHUB_WORKSPACE: /home/runner/work/changed-files-grep-repro/changed-files-grep-repro
    GITHUB_EVENT_PULL_REQUEST_BASE_REF: 
    GITHUB_EVENT_PULL_REQUEST_HEAD_REPO_FORK: 
    INPUT_FILES_PATTERN_FILE: 
    INPUT_SEPARATOR:  
    INPUT_PATH: .
    INPUT_PREVIOUS_SHA: 1400f2e93dd599eeae67c862a8d55e05bb7ebda1
    INPUT_CURRENT_SHA: 69b1ecd0604dfeee046e6c66e25e1b99c389e3a6
    INPUT_TARGET_BRANCH: main
    INPUT_CURRENT_BRANCH: main
    INPUT_DIFF: ..
    INPUT_QUOTEPATH: true
    INPUT_INCLUDE_ALL_OLD_NEW_RENAMED_FILES: false
    INPUT_OLD_NEW_SEPARATOR: ,
    INPUT_OLD_NEW_FILES_SEPARATOR:  
    INPUT_DIFF_RELATIVE: 
    INPUT_DIR_NAMES: false
    INPUT_DIR_NAMES_MAX_DEPTH: 
    INPUT_JSON: false
    INPUT_HAS_CUSTOM_PATTERNS: true
    INPUT_JSON_RAW_FORMAT: false
changed-files
  Resolving repository path: /home/runner/work/changed-files-grep-repro/changed-files-grep-repro/.
  Retrieving changes between 1400f2e93dd599eeae67c862a8d55e05bb7ebda1 (main) โ†’ 69b1ecd0604dfeee046e6c66e25e1b99c389e3a6 (main)
  grep: : No such file or directory
  grep: : No such file or directory
  grep: : No such file or directory
  grep: : No such file or directory
  /home/runner/work/_actions/tj-actions/changed-files/ca8881ae34b5c14a5d604cc8eac1e791d74a6809/get-changed-paths.sh: line 95: echo: write error: Broken pipe
  Error: Process completed with exit code 1.

Anything else?

Failing run: https://github.com/illright/changed-files-grep-repro/actions/runs/3910805202/jobs/6683431627

Succeeding run (when the braces are manually expanded into several patterns): https://github.com/illright/changed-files-grep-repro/actions/runs/3910799187/jobs/6683419066

Code of Conduct

  • I agree to follow this project's Code of Conduct

[Feature] Support named filters

Is this feature missing in the latest version?

  • I'm using the latest release

Is your feature request related to a problem? Please describe.

No

Describe the solution you'd like?

Support the use of yaml in the files input

Describe alternatives you've considered?

No response

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

[BUG] wrong file patterns created from .gitignore entries

Is there an existing issue for this?

  • I have searched the existing issues

Does this issue exist in the latest version?

  • I'm using the latest release

Describe the bug?

The file patterns generated from .gitignore entries are generated incorrectly.

An entry with /foo becomes !/path/to/work/dir/**/foo which incorrectly matches all directories named foo instead of matching only the root-level

To Reproduce

  1. create .gitignore entry starting with /
  2. turn on debug output and look at output of generated file patterns

What OS are you seeing the problem on?

ubuntu-latest or ubuntu-20.04

Expected behavior?

Correct file pattern in the example would be !/path/to/work/dir/foo

Relevant log output

No response

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

[Feature] Add option to use git ls-files or list files using git instead of using the file system

Is this feature missing in the latest version?

  • I'm using the latest release

Is your feature request related to a problem? Please describe.

Yes, ideally some files or patterns could match files tracked by git but no longer in the file system due to deleting the file.

Describe the solution you'd like?

We switch to using git at least as an option which can be toggled to either use git or the file system.

Describe alternatives you've considered?

No response

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

[gitignore] optionally include directories that are a part of gitignore in the glob

Is this feature missing in the latest version?

  • I'm using the latest release

Is your feature request related to a problem? Please describe.

Currently the globing will filter out directories that are included in the gitignore file. I have a job where build artifacts are produced in a gitignored directory and I need to gather produced files based on a glob. This action won't let me do so in it's current state.

Describe the solution you'd like?

I would like to be able to provide an option to skip the gitignore filter in some capacity. We could skip the entire gitignore filtering or we could provide gitignore entries to exclude from the filtering process.

Describe alternatives you've considered?

No response

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

[BUG] The `**.<ext>` pattern matches only files from the root (= `*.<ext>`)

Is there an existing issue for this?

  • I have searched the existing issues

Does this issue exist in the latest version?

  • I'm using the latest release

Describe the bug?

As the title says, I'm using the tj-actions/glob action (indirectly, via tj-actions/changed-files) with the following pattern:

- uses: tj-actions/[email protected]
  id: glob-all-js
  with:
    files: |
      **.js

With the following tree structure:

.
โ”œโ”€โ”€ .github
โ”‚   โ””โ”€โ”€ workflows
โ”‚       โ””โ”€โ”€ glob.yml
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ index.js
โ”œโ”€โ”€ js
โ”‚   โ””โ”€โ”€ index.js
โ””โ”€โ”€ src
    โ””โ”€โ”€ js
        โ””โ”€โ”€ app.js

But the output of the glob action is only the index.js file from the root:
https://github.com/jond01/tj-actions-glob-example/actions/runs/3892727375/jobs/6644480436#step:4:5

To Reproduce

https://github.com/jond01/tj-actions-glob-example

Run the workflow via the "Actions" tab.

What OS are you seeing the problem on?

ubuntu-latest or ubuntu-20.04

Expected behavior?

I expect all the .js files to be listed, as also explained on GitHub docs:
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#patterns-to-match-file-paths

'**.js'

Matches allย .jsย files in the repository.

index.js

js/index.js

src/js/app.js

Relevant log output

No response

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

[BUG] Looking for __init__.py is failing

Is there an existing issue for this?

  • I have searched the existing issues

Does this issue exist in the latest version?

  • I'm using the latest release

Describe the bug?

I'm trying to use this GH workflow to verify whether a specific init.py file was modified or not.
I've tried to use regex, specific paths, and other options as well but it keeps failing with the following error:
image

Step content:
- name: Get changed files id: changed-files uses: tj-actions/[email protected] with: files: | commons/__init__.py

To Reproduce

Add the following step:

      - name: Get changed files
        id: changed-files
        uses: tj-actions/[email protected]
        with:
          files: |
            commons/__init__.py

What OS are you seeing the problem on?

ubuntu-latest or ubuntu-20.04

Expected behavior?

To succeed

Relevant log output

grep: : No such file or directory
  grep: : No such file or directory
  grep: : No such file or directory
  grep: : No such file or directory
  /home/runner/work/_actions/tj-actions/changed-files/v34.6.1/get-changed-paths.sh: line 91: echo: write error: Broken pipe

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

[BUG] Invalid pattern with relative path in .gitignore

Is there an existing issue for this?

  • I have searched the existing issues

Does this issue exist in the latest version?

  • I'm using the latest release

Describe the bug?

With the latest release we get

Invalid pattern */./*.yaml'. Relative pathing '.' and '..' is not allowed.

Since our .gitignore has ./*.yaml.

To Reproduce

  1. Place ./*.yaml in .gitignore
  2. Try to use the action

What OS are you seeing the problem on?

all

Expected behavior?

No errors.

Relevant log output

No response

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

[Feature] Add support for reading .eslint.config.(js,mjs) for eslint v9

Is this feature missing in the latest version?

  • I'm using the latest release

Is your feature request related to a problem? Please describe.

Iโ€™d like to pass ignored files in the eslint config to this action

Describe the solution you'd like?

Ignores in eslint can be excluded

See:

Describe alternatives you've considered?

No response

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

[Feature] Option to succeed if no path match the pattern

Is this feature missing in the latest version?

  • I'm using the latest release

Is your feature request related to a problem? Please describe.

Use case:

When configuring organization level action, it might happen that some repos using it might not need all the checks now (possibly it may eventually need).

E.g. Maybe this repo doesn't use SQL now, but it is possible that eventually it will need one too, as the repo develop.

jobs:
  schema:
    name: Check sql files
    runs-on: ubuntu-latest
    steps:
      - id: changed-files
        name: Get changed schema
        uses: tj-actions/changed-files@v35
        with:
          files: |
            **/*.sql
     # ...

This currently fail with

/usr/bin/git diff --diff-filter=D --name-only <hash1>...<hash2>
Error: No paths found using the specified patterns

Describe the solution you'd like?

jobs:
  schema:
    name: Check sql files
    runs-on: ubuntu-latest
    steps:
      - id: changed-files
        name: Get changed schema
        uses: tj-actions/changed-files@v35
        with:
          allow_no_file_match: true
          files: |
            **/*.sql

Which will still shows a warning but is considered success
Since there is no file matching the pattern, it is not possible something can change, thus it should return same output as nothing changed.

Describe alternatives you've considered?

No response

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

[Feature] node12 deprecation

Is this feature missing in the latest version?

  • I'm using the latest release

Is your feature request related to a problem? Please describe.

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: tj-actions/glob, tj-actions/glob

Describe the solution you'd like?

Use node16

Describe alternatives you've considered?

No response

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

[BUG] gitignore excludes are not correctly reflected

Is there an existing issue for this?

  • I have searched the existing issues

Does this issue exist in the latest version?

  • I'm using the latest release

Describe the bug?

When ignoring a directory using .gitignore files, but explicitly including certain files, the settings are not correctly reflected in the glob action. The excludes of the ignores are not picked up.

To Reproduce

  1. Ignore a folder in .gitignore: files/**
  2. Exclude a file in the folder: !files/file.txt
  3. Include that file in the glob files:
      - name: Glob match
        uses: tj-actions/glob@v16
        id: glob
        with:
          files: files/file.txt
  1. Run the action

What OS are you seeing the problem on?

ubuntu-latest or ubuntu-20.04

Expected behavior?

Have files/file.txt in the found files. Currently, it errors instead as it finds no files at all.

Relevant log output

2023-02-21T10:44:55.5966164Z Requested labels: ubuntu-latest
2023-02-21T10:44:55.5966205Z Job defined at: keneanung/glob-action-tests/.github/workflows/glob.yaml@refs/heads/main
2023-02-21T10:44:55.5966235Z Waiting for a runner to pick up this job...
2023-02-21T10:44:55.8108884Z Job is waiting for a hosted runner to come online.
2023-02-21T10:44:59.7422853Z Job is about to start running on the hosted runner: Hosted Agent (hosted)
2023-02-21T10:45:01.9204830Z ##[debug]Starting: glob
2023-02-21T10:45:01.9229256Z ##[debug]Cleaning runner temp folder: /home/runner/work/_temp
2023-02-21T10:45:01.9553918Z ##[debug]Starting: Set up job
2023-02-21T10:45:01.9554348Z Current runner version: '2.301.1'
2023-02-21T10:45:01.9576691Z ##[group]Operating System
2023-02-21T10:45:01.9577321Z Ubuntu
2023-02-21T10:45:01.9577609Z 22.04.1
2023-02-21T10:45:01.9577877Z LTS
2023-02-21T10:45:01.9578107Z ##[endgroup]
2023-02-21T10:45:01.9578445Z ##[group]Runner Image
2023-02-21T10:45:01.9578777Z Image: ubuntu-22.04
2023-02-21T10:45:01.9579050Z Version: 20230217.1
2023-02-21T10:45:01.9579525Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20230217.1/images/linux/Ubuntu2204-Readme.md
2023-02-21T10:45:01.9580131Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20230217.1
2023-02-21T10:45:01.9580523Z ##[endgroup]
2023-02-21T10:45:01.9580854Z ##[group]Runner Image Provisioner
2023-02-21T10:45:01.9581181Z 2.0.117.1
2023-02-21T10:45:01.9581556Z ##[endgroup]
2023-02-21T10:45:01.9582244Z ##[group]GITHUB_TOKEN Permissions
2023-02-21T10:45:01.9582804Z Contents: read
2023-02-21T10:45:01.9583061Z Metadata: read
2023-02-21T10:45:01.9583353Z Packages: read
2023-02-21T10:45:01.9583690Z ##[endgroup]
2023-02-21T10:45:01.9587206Z Secret source: Actions
2023-02-21T10:45:01.9587745Z ##[debug]Primary repository: keneanung/glob-action-tests
2023-02-21T10:45:01.9588163Z Prepare workflow directory
2023-02-21T10:45:01.9675184Z ##[debug]Creating pipeline directory: '/home/runner/work/glob-action-tests'
2023-02-21T10:45:01.9677484Z ##[debug]Creating workspace directory: '/home/runner/work/glob-action-tests/glob-action-tests'
2023-02-21T10:45:01.9678435Z ##[debug]Update context data
2023-02-21T10:45:01.9680674Z ##[debug]Evaluating job-level environment variables
2023-02-21T10:45:02.0341324Z ##[debug]Evaluating job container
2023-02-21T10:45:02.0345209Z ##[debug]Evaluating job service containers
2023-02-21T10:45:02.0347550Z ##[debug]Evaluating job defaults
2023-02-21T10:45:02.0421907Z Prepare all required actions
2023-02-21T10:45:02.0604982Z Getting action download info
2023-02-21T10:45:02.3607431Z Download action repository 'actions/checkout@v2' (SHA:dc323e67f16fb5f7663d20ff7941f27f5809e9b6)
2023-02-21T10:45:02.5827799Z ##[debug]Download 'https://api.github.com/repos/actions/checkout/tarball/dc323e67f16fb5f7663d20ff7941f27f5809e9b6' to '/home/runner/work/_actions/_temp_566c60ef-fe47-412c-a2a4-4eb5bd5b5b14/42582f29-6c66-4e95-a17b-b7b95127d133.tar.gz'
2023-02-21T10:45:02.6753551Z ##[debug]Unwrap 'actions-checkout-dc323e6' to '/home/runner/work/_actions/actions/checkout/v2'
2023-02-21T10:45:02.6889388Z ##[debug]Archive '/home/runner/work/_actions/_temp_566c60ef-fe47-412c-a2a4-4eb5bd5b5b14/42582f29-6c66-4e95-a17b-b7b95127d133.tar.gz' has been unzipped into '/home/runner/work/_actions/actions/checkout/v2'.
2023-02-21T10:45:02.7036942Z Download action repository 'tj-actions/glob@v16' (SHA:9923edc8efb605c131fb09a79699a819cde2cfe4)
2023-02-21T10:45:02.9443490Z ##[debug]Download 'https://api.github.com/repos/tj-actions/glob/tarball/9923edc8efb605c131fb09a79699a819cde2cfe4' to '/home/runner/work/_actions/_temp_ba73b80a-fc79-4876-b8e1-b053f2e2a63e/8b0470dd-aa62-456d-a41b-643160be99bf.tar.gz'
2023-02-21T10:45:02.9611746Z ##[debug]Unwrap 'tj-actions-glob-9923edc' to '/home/runner/work/_actions/tj-actions/glob/v16'
2023-02-21T10:45:02.9653287Z ##[debug]Archive '/home/runner/work/_actions/_temp_ba73b80a-fc79-4876-b8e1-b053f2e2a63e/8b0470dd-aa62-456d-a41b-643160be99bf.tar.gz' has been unzipped into '/home/runner/work/_actions/tj-actions/glob/v16'.
2023-02-21T10:45:02.9718122Z ##[debug]action.yml for action: '/home/runner/work/_actions/actions/checkout/v2/action.yml'.
2023-02-21T10:45:03.0651214Z ##[debug]action.yml for action: '/home/runner/work/_actions/tj-actions/glob/v16/action.yml'.
2023-02-21T10:45:03.0902004Z ##[debug]Set step '__actions_checkout' display name to: 'Run actions/checkout@v2'
2023-02-21T10:45:03.0904165Z ##[debug]Set step 'glob' display name to: 'Glob match'
2023-02-21T10:45:03.0905563Z ##[debug]Set step '__run' display name to: 'Show all matching files'
2023-02-21T10:45:03.0906052Z Complete job name: glob
2023-02-21T10:45:03.0915780Z ##[debug]Collect running processes for tracking orphan processes.
2023-02-21T10:45:03.1266634Z ##[debug]Finishing: Set up job
2023-02-21T10:45:03.1480086Z ##[debug]Evaluating condition for step: 'Run actions/checkout@v2'
2023-02-21T10:45:03.1535765Z ##[debug]Evaluating: success()
2023-02-21T10:45:03.1541855Z ##[debug]Evaluating success:
2023-02-21T10:45:03.1570331Z ##[debug]=> true
2023-02-21T10:45:03.1579620Z ##[debug]Result: true
2023-02-21T10:45:03.1621270Z ##[debug]Starting: Run actions/checkout@v2
2023-02-21T10:45:03.1733831Z ##[debug]Register post job cleanup for action: actions/checkout@v2
2023-02-21T10:45:03.1841834Z ##[debug]Loading inputs
2023-02-21T10:45:03.1850873Z ##[debug]Evaluating: github.repository
2023-02-21T10:45:03.1851904Z ##[debug]Evaluating Index:
2023-02-21T10:45:03.1854305Z ##[debug]..Evaluating github:
2023-02-21T10:45:03.1855434Z ##[debug]..=> Object
2023-02-21T10:45:03.1870031Z ##[debug]..Evaluating String:
2023-02-21T10:45:03.1870932Z ##[debug]..=> 'repository'
2023-02-21T10:45:03.1875890Z ##[debug]=> 'keneanung/glob-action-tests'
2023-02-21T10:45:03.1877683Z ##[debug]Result: 'keneanung/glob-action-tests'
2023-02-21T10:45:03.1880205Z ##[debug]Evaluating: github.token
2023-02-21T10:45:03.1880554Z ##[debug]Evaluating Index:
2023-02-21T10:45:03.1880888Z ##[debug]..Evaluating github:
2023-02-21T10:45:03.1881171Z ##[debug]..=> Object
2023-02-21T10:45:03.1881497Z ##[debug]..Evaluating String:
2023-02-21T10:45:03.1881846Z ##[debug]..=> 'token'
2023-02-21T10:45:03.1882561Z ##[debug]=> '***'
2023-02-21T10:45:03.1882997Z ##[debug]Result: '***'
2023-02-21T10:45:03.1888875Z ##[debug]Loading env
2023-02-21T10:45:03.1979238Z ##[group]Run actions/checkout@v2
2023-02-21T10:45:03.1979615Z with:
2023-02-21T10:45:03.1980192Z   repository: keneanung/glob-action-tests
2023-02-21T10:45:03.1980740Z   token: ***
2023-02-21T10:45:03.1980983Z   ssh-strict: true
2023-02-21T10:45:03.1981310Z   persist-credentials: true
2023-02-21T10:45:03.1981664Z   clean: true
2023-02-21T10:45:03.1981941Z   fetch-depth: 1
2023-02-21T10:45:03.1982166Z   lfs: false
2023-02-21T10:45:03.1982435Z   submodules: false
2023-02-21T10:45:03.1982780Z   set-safe-directory: true
2023-02-21T10:45:03.1983031Z ##[endgroup]
2023-02-21T10:45:03.4246748Z ##[debug]GITHUB_WORKSPACE = '/home/runner/work/glob-action-tests/glob-action-tests'
2023-02-21T10:45:03.4249098Z ##[debug]qualified repository = 'keneanung/glob-action-tests'
2023-02-21T10:45:03.4249711Z ##[debug]ref = 'refs/heads/main'
2023-02-21T10:45:03.4250327Z ##[debug]commit = '0867a7cd9b55637ef0ded6603ff1647d910bcab6'
2023-02-21T10:45:03.4250811Z ##[debug]clean = true
2023-02-21T10:45:03.4251336Z ##[debug]fetch depth = 1
2023-02-21T10:45:03.4251769Z ##[debug]lfs = false
2023-02-21T10:45:03.4252243Z ##[debug]submodules = false
2023-02-21T10:45:03.4252738Z ##[debug]recursive submodules = false
2023-02-21T10:45:03.4299095Z ::add-matcher::/home/runner/work/_actions/actions/checkout/v2/dist/problem-matcher.json
2023-02-21T10:45:03.4432050Z ##[debug]Added matchers: 'checkout-git'. Problem matchers scan action output for known warning or error strings and report these inline.
2023-02-21T10:45:03.4445105Z Syncing repository: keneanung/glob-action-tests
2023-02-21T10:45:03.4446218Z ::group::Getting Git version info
2023-02-21T10:45:03.4447596Z ##[group]Getting Git version info
2023-02-21T10:45:03.4448196Z Working directory is '/home/runner/work/glob-action-tests/glob-action-tests'
2023-02-21T10:45:03.4449584Z ##[debug]Getting git version
2023-02-21T10:45:03.4453485Z [command]/usr/bin/git version
2023-02-21T10:45:03.4571994Z git version 2.39.2
2023-02-21T10:45:03.4591070Z ##[debug]Set git useragent to: git/2.39.2 (github-actions-checkout)
2023-02-21T10:45:03.4592392Z ::endgroup::
2023-02-21T10:45:03.4592738Z ##[endgroup]
2023-02-21T10:45:03.4607509Z ::add-mask::***
2023-02-21T10:45:03.4609504Z Temporarily overriding HOME='/home/runner/work/_temp/0d3fa0c4-87de-4e2c-81cd-d505cfc38e40' before making global git config changes
2023-02-21T10:45:03.4610725Z Adding repository directory to the temporary git global config as a safe directory
2023-02-21T10:45:03.4611706Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/glob-action-tests/glob-action-tests
2023-02-21T10:45:03.4655239Z Deleting the contents of '/home/runner/work/glob-action-tests/glob-action-tests'
2023-02-21T10:45:03.4858496Z ::group::Initializing the repository
2023-02-21T10:45:03.4912225Z ##[group]Initializing the repository
2023-02-21T10:45:03.4913223Z [command]/usr/bin/git init /home/runner/work/glob-action-tests/glob-action-tests
2023-02-21T10:45:03.4914142Z hint: Using 'master' as the name for the initial branch. This default branch name
2023-02-21T10:45:03.4915071Z hint: is subject to change. To configure the initial branch name to use in all
2023-02-21T10:45:03.4915645Z hint: of your new repositories, which will suppress this warning, call:
2023-02-21T10:45:03.4916346Z hint: 
2023-02-21T10:45:03.4916859Z hint: 	git config --global init.defaultBranch <name>
2023-02-21T10:45:03.4917482Z hint: 
2023-02-21T10:45:03.4917997Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
2023-02-21T10:45:03.4918818Z hint: 'development'. The just-created branch can be renamed via this command:
2023-02-21T10:45:03.4919261Z hint: 
2023-02-21T10:45:03.4919886Z hint: 	git branch -m <name>
2023-02-21T10:45:03.4920507Z Initialized empty Git repository in /home/runner/work/glob-action-tests/glob-action-tests/.git/
2023-02-21T10:45:03.4921411Z [command]/usr/bin/git remote add origin https://github.com/keneanung/glob-action-tests
2023-02-21T10:45:03.4922356Z ::endgroup::
2023-02-21T10:45:03.4922565Z ##[endgroup]
2023-02-21T10:45:03.4923404Z ::group::Disabling automatic garbage collection
2023-02-21T10:45:03.4923698Z ##[group]Disabling automatic garbage collection
2023-02-21T10:45:03.4924317Z [command]/usr/bin/git config --local gc.auto 0
2023-02-21T10:45:03.4925196Z ::endgroup::
2023-02-21T10:45:03.4925381Z ##[endgroup]
2023-02-21T10:45:03.4925916Z ::group::Setting up auth
2023-02-21T10:45:03.4926139Z ##[group]Setting up auth
2023-02-21T10:45:03.4926912Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2023-02-21T10:45:03.4927761Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2023-02-21T10:45:03.5236418Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2023-02-21T10:45:03.5272981Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2023-02-21T10:45:03.5487037Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
2023-02-21T10:45:03.5516078Z ::endgroup::
2023-02-21T10:45:03.5516322Z ##[endgroup]
2023-02-21T10:45:03.5516854Z ::group::Fetching the repository
2023-02-21T10:45:03.5517099Z ##[group]Fetching the repository
2023-02-21T10:45:03.5527093Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +0867a7cd9b55637ef0ded6603ff1647d910bcab6:refs/remotes/origin/main
2023-02-21T10:45:03.7904469Z remote: Enumerating objects: 9, done.        
2023-02-21T10:45:03.7912758Z remote: Counting objects:  11% (1/9)        
2023-02-21T10:45:03.7919316Z remote: Counting objects:  22% (2/9)        
2023-02-21T10:45:03.7919814Z remote: Counting objects:  33% (3/9)        
2023-02-21T10:45:03.7920492Z remote: Counting objects:  44% (4/9)        
2023-02-21T10:45:03.7920908Z remote: Counting objects:  55% (5/9)        
2023-02-21T10:45:03.7921538Z remote: Counting objects:  66% (6/9)        
2023-02-21T10:45:03.7921973Z remote: Counting objects:  77% (7/9)        
2023-02-21T10:45:03.7922594Z remote: Counting objects:  88% (8/9)        
2023-02-21T10:45:03.7923407Z remote: Counting objects: 100% (9/9)        
2023-02-21T10:45:03.7924054Z remote: Counting objects: 100% (9/9), done.        
2023-02-21T10:45:03.7924521Z remote: Compressing objects:  33% (1/3)        
2023-02-21T10:45:03.7925242Z remote: Compressing objects:  66% (2/3)        
2023-02-21T10:45:03.7925689Z remote: Compressing objects: 100% (3/3)        
2023-02-21T10:45:03.7926345Z remote: Compressing objects: 100% (3/3), done.        
2023-02-21T10:45:03.7927141Z remote: Total 9 (delta 0), reused 0 (delta 0), pack-reused 0        
2023-02-21T10:45:03.7976772Z From https://github.com/keneanung/glob-action-tests
2023-02-21T10:45:03.7977476Z  * [new ref]         0867a7cd9b55637ef0ded6603ff1647d910bcab6 -> origin/main
2023-02-21T10:45:03.8002771Z ::endgroup::
2023-02-21T10:45:03.8002983Z ##[endgroup]
2023-02-21T10:45:03.8003663Z ::group::Determining the checkout info
2023-02-21T10:45:03.8003939Z ##[group]Determining the checkout info
2023-02-21T10:45:03.8005012Z ::endgroup::
2023-02-21T10:45:03.8005204Z ##[endgroup]
2023-02-21T10:45:03.8005762Z ::group::Checking out the ref
2023-02-21T10:45:03.8005996Z ##[group]Checking out the ref
2023-02-21T10:45:03.8009924Z [command]/usr/bin/git checkout --progress --force -B main refs/remotes/origin/main
2023-02-21T10:45:03.8053935Z Switched to a new branch 'main'
2023-02-21T10:45:03.8055263Z branch 'main' set up to track 'origin/main'.
2023-02-21T10:45:03.8059802Z ::endgroup::
2023-02-21T10:45:03.8059992Z ##[endgroup]
2023-02-21T10:45:03.8097555Z [command]/usr/bin/git log -1 --format='%H'
2023-02-21T10:45:03.8123478Z '0867a7cd9b55637ef0ded6603ff1647d910bcab6'
2023-02-21T10:45:03.8132701Z ##[debug]Unsetting HOME override
2023-02-21T10:45:03.8140903Z ::remove-matcher owner=checkout-git::
2023-02-21T10:45:03.8163561Z ##[debug]Removed matchers: 'checkout-git'
2023-02-21T10:45:03.8225709Z ##[debug]Node Action run completed with exit code 0
2023-02-21T10:45:03.8356941Z ##[debug]Save intra-action state isPost = true
2023-02-21T10:45:03.8357378Z ##[debug]Save intra-action state setSafeDirectory = true
2023-02-21T10:45:03.8357804Z ##[debug]Save intra-action state repositoryPath = /home/runner/work/glob-action-tests/glob-action-tests
2023-02-21T10:45:03.8369094Z ##[debug]Finishing: Run actions/checkout@v2
2023-02-21T10:45:03.8377016Z ##[debug]Evaluating condition for step: 'Glob match'
2023-02-21T10:45:03.8379710Z ##[debug]Evaluating: success()
2023-02-21T10:45:03.8380033Z ##[debug]Evaluating success:
2023-02-21T10:45:03.8380559Z ##[debug]=> true
2023-02-21T10:45:03.8380971Z ##[debug]Result: true
2023-02-21T10:45:03.8381733Z ##[debug]Starting: Glob match
2023-02-21T10:45:03.8408943Z ##[debug]Register post job cleanup for action: tj-actions/glob@v16
2023-02-21T10:45:03.8418865Z ##[debug]Loading inputs
2023-02-21T10:45:03.8461664Z ##[debug]Evaluating: github.event.pull_request.base.ref
2023-02-21T10:45:03.8462013Z ##[debug]Evaluating Index:
2023-02-21T10:45:03.8462259Z ##[debug]..Evaluating Index:
2023-02-21T10:45:03.8462492Z ##[debug]....Evaluating Index:
2023-02-21T10:45:03.8462729Z ##[debug]......Evaluating Index:
2023-02-21T10:45:03.8462968Z ##[debug]........Evaluating github:
2023-02-21T10:45:03.8463215Z ##[debug]........=> Object
2023-02-21T10:45:03.8463458Z ##[debug]........Evaluating String:
2023-02-21T10:45:03.8463721Z ##[debug]........=> 'event'
2023-02-21T10:45:03.8463976Z ##[debug]......=> Object
2023-02-21T10:45:03.8464201Z ##[debug]......Evaluating String:
2023-02-21T10:45:03.8464436Z ##[debug]......=> 'pull_request'
2023-02-21T10:45:03.8464753Z ##[debug]....=> null
2023-02-21T10:45:03.8464970Z ##[debug]..=> null
2023-02-21T10:45:03.8465175Z ##[debug]=> null
2023-02-21T10:45:03.8465390Z ##[debug]Result: null
2023-02-21T10:45:03.8468259Z ##[debug]Evaluating: github.event.pull_request.head.repo.fork
2023-02-21T10:45:03.8468565Z ##[debug]Evaluating Index:
2023-02-21T10:45:03.8468789Z ##[debug]..Evaluating Index:
2023-02-21T10:45:03.8469020Z ##[debug]....Evaluating Index:
2023-02-21T10:45:03.8469247Z ##[debug]......Evaluating Index:
2023-02-21T10:45:03.8469578Z ##[debug]........Evaluating Index:
2023-02-21T10:45:03.8469829Z ##[debug]..........Evaluating github:
2023-02-21T10:45:03.8470086Z ##[debug]..........=> Object
2023-02-21T10:45:03.8470333Z ##[debug]..........Evaluating String:
2023-02-21T10:45:03.8470567Z ##[debug]..........=> 'event'
2023-02-21T10:45:03.8470807Z ##[debug]........=> Object
2023-02-21T10:45:03.8471039Z ##[debug]........Evaluating String:
2023-02-21T10:45:03.8471281Z ##[debug]........=> 'pull_request'
2023-02-21T10:45:03.8471500Z ##[debug]......=> null
2023-02-21T10:45:03.8471933Z ##[debug]....=> null
2023-02-21T10:45:03.8472148Z ##[debug]..=> null
2023-02-21T10:45:03.8472356Z ##[debug]=> null
2023-02-21T10:45:03.8472570Z ##[debug]Result: null
2023-02-21T10:45:03.8473574Z ##[debug]Evaluating: github.sha
2023-02-21T10:45:03.8473815Z ##[debug]Evaluating Index:
2023-02-21T10:45:03.8474046Z ##[debug]..Evaluating github:
2023-02-21T10:45:03.8474280Z ##[debug]..=> Object
2023-02-21T10:45:03.8474491Z ##[debug]..Evaluating String:
2023-02-21T10:45:03.8474714Z ##[debug]..=> 'sha'
2023-02-21T10:45:03.8474987Z ##[debug]=> '0867a7cd9b55637ef0ded6603ff1647d910bcab6'
2023-02-21T10:45:03.8475300Z ##[debug]Result: '0867a7cd9b55637ef0ded6603ff1647d910bcab6'
2023-02-21T10:45:03.8477077Z ##[debug]Loading env
2023-02-21T10:45:03.8481570Z ##[group]Run tj-actions/glob@v16
2023-02-21T10:45:03.8481782Z with:
2023-02-21T10:45:03.8481971Z   files: files/file.txt
2023-02-21T10:45:03.8482178Z   files-separator: 

2023-02-21T10:45:03.8482407Z   excluded-files-separator: 

2023-02-21T10:45:03.8482673Z   files-from-source-file-separator: 

2023-02-21T10:45:03.8482981Z   excluded-files-from-source-file-separator: 

2023-02-21T10:45:03.8483264Z   follow-symbolic-links: true
2023-02-21T10:45:03.8483495Z   match-directories: true
2023-02-21T10:45:03.8483725Z   match-gitignore-files: false
2023-02-21T10:45:03.8483938Z   separator:  
2023-02-21T10:45:03.8484137Z   escape-paths: false
2023-02-21T10:45:03.8484356Z   strip-top-level-dir: true
2023-02-21T10:45:03.8484591Z   include-deleted-files: false
2023-02-21T10:45:03.8484847Z   sha: 0867a7cd9b55637ef0ded6603ff1647d910bcab6
2023-02-21T10:45:03.8485084Z   working-directory: .
2023-02-21T10:45:03.8485273Z ##[endgroup]
2023-02-21T10:45:04.0077003Z ##[debug]file patterns: files/file.txt
2023-02-21T10:45:04.0132505Z ##[debug]file patterns: /home/runner/work/glob-action-tests/glob-action-tests/files/file.txt
2023-02-21T10:45:04.0132929Z ##[debug]!/home/runner/work/glob-action-tests/glob-action-tests/.git/**
2023-02-21T10:45:04.0133299Z ##[debug]!/home/runner/work/glob-action-tests/glob-action-tests/**/node_modules/**
2023-02-21T10:45:04.0133667Z ##[debug]!/home/runner/work/glob-action-tests/glob-action-tests/node_modules/**
2023-02-21T10:45:04.0134186Z ##[debug]followSymbolicLinks 'true'
2023-02-21T10:45:04.0134613Z ##[debug]matchDirectories 'true'
2023-02-21T10:45:04.0135018Z ##[debug]followSymbolicLinks 'true'
2023-02-21T10:45:04.0135712Z ##[debug]implicitDescendants 'true'
2023-02-21T10:45:04.0136492Z ##[debug]matchDirectories 'true'
2023-02-21T10:45:04.0137185Z ##[debug]omitBrokenSymbolicLinks 'true'
2023-02-21T10:45:04.0137927Z ##[debug]Search path '/home/runner/work/glob-action-tests/glob-action-tests/files/file.txt'
2023-02-21T10:45:04.0212208Z ##[debug]followSymbolicLinks 'true'
2023-02-21T10:45:04.0213157Z ##[debug]matchDirectories 'true'
2023-02-21T10:45:04.0217367Z ##[debug]followSymbolicLinks 'true'
2023-02-21T10:45:04.0219035Z ##[debug]implicitDescendants 'true'
2023-02-21T10:45:04.0219830Z ##[debug]matchDirectories 'true'
2023-02-21T10:45:04.0220702Z ##[debug]omitBrokenSymbolicLinks 'true'
2023-02-21T10:45:04.0223434Z ##[debug]Search path '/home/runner/work/glob-action-tests/glob-action-tests/files'
2023-02-21T10:45:04.0226905Z ##[debug]Search path '/home/runner/work/glob-action-tests/glob-action-tests/!files/file.txt'
2023-02-21T10:45:04.0262985Z ##[error]No paths found using the specified patterns
2023-02-21T10:45:04.0290571Z ##[debug]Node Action run completed with exit code 1
2023-02-21T10:45:04.0299675Z ##[debug]Finishing: Glob match
2023-02-21T10:45:04.0305299Z ##[debug]Evaluating condition for step: 'Show all matching files'
2023-02-21T10:45:04.0306493Z ##[debug]Evaluating: success()
2023-02-21T10:45:04.0306833Z ##[debug]Evaluating success:
2023-02-21T10:45:04.0307174Z ##[debug]=> false
2023-02-21T10:45:04.0307543Z ##[debug]Result: false
2023-02-21T10:45:04.0310496Z ##[debug]Evaluating condition for step: 'Post Glob match'
2023-02-21T10:45:04.0312792Z ##[debug]Evaluating: always()
2023-02-21T10:45:04.0313112Z ##[debug]Evaluating always:
2023-02-21T10:45:04.0313982Z ##[debug]=> true
2023-02-21T10:45:04.0314421Z ##[debug]Result: true
2023-02-21T10:45:04.0314962Z ##[debug]Starting: Post Glob match
2023-02-21T10:45:04.0345565Z ##[debug]Loading inputs
2023-02-21T10:45:04.0352874Z ##[debug]Evaluating: github.event.pull_request.base.ref
2023-02-21T10:45:04.0353162Z ##[debug]Evaluating Index:
2023-02-21T10:45:04.0353402Z ##[debug]..Evaluating Index:
2023-02-21T10:45:04.0353641Z ##[debug]....Evaluating Index:
2023-02-21T10:45:04.0353874Z ##[debug]......Evaluating Index:
2023-02-21T10:45:04.0354114Z ##[debug]........Evaluating github:
2023-02-21T10:45:04.0354364Z ##[debug]........=> Object
2023-02-21T10:45:04.0354610Z ##[debug]........Evaluating String:
2023-02-21T10:45:04.0354834Z ##[debug]........=> 'event'
2023-02-21T10:45:04.0355121Z ##[debug]......=> Object
2023-02-21T10:45:04.0355357Z ##[debug]......Evaluating String:
2023-02-21T10:45:04.0355604Z ##[debug]......=> 'pull_request'
2023-02-21T10:45:04.0355836Z ##[debug]....=> null
2023-02-21T10:45:04.0356056Z ##[debug]..=> null
2023-02-21T10:45:04.0356254Z ##[debug]=> null
2023-02-21T10:45:04.0356464Z ##[debug]Result: null
2023-02-21T10:45:04.0357532Z ##[debug]Evaluating: github.event.pull_request.head.repo.fork
2023-02-21T10:45:04.0357819Z ##[debug]Evaluating Index:
2023-02-21T10:45:04.0358073Z ##[debug]..Evaluating Index:
2023-02-21T10:45:04.0358303Z ##[debug]....Evaluating Index:
2023-02-21T10:45:04.0358522Z ##[debug]......Evaluating Index:
2023-02-21T10:45:04.0358762Z ##[debug]........Evaluating Index:
2023-02-21T10:45:04.0359001Z ##[debug]..........Evaluating github:
2023-02-21T10:45:04.0359250Z ##[debug]..........=> Object
2023-02-21T10:45:04.0359484Z ##[debug]..........Evaluating String:
2023-02-21T10:45:04.0359740Z ##[debug]..........=> 'event'
2023-02-21T10:45:04.0359969Z ##[debug]........=> Object
2023-02-21T10:45:04.0360192Z ##[debug]........Evaluating String:
2023-02-21T10:45:04.0360428Z ##[debug]........=> 'pull_request'
2023-02-21T10:45:04.0360652Z ##[debug]......=> null
2023-02-21T10:45:04.0360859Z ##[debug]....=> null
2023-02-21T10:45:04.0361058Z ##[debug]..=> null
2023-02-21T10:45:04.0361257Z ##[debug]=> null
2023-02-21T10:45:04.0361462Z ##[debug]Result: null
2023-02-21T10:45:04.0362303Z ##[debug]Evaluating: github.sha
2023-02-21T10:45:04.0362542Z ##[debug]Evaluating Index:
2023-02-21T10:45:04.0362761Z ##[debug]..Evaluating github:
2023-02-21T10:45:04.0362992Z ##[debug]..=> Object
2023-02-21T10:45:04.0363210Z ##[debug]..Evaluating String:
2023-02-21T10:45:04.0363428Z ##[debug]..=> 'sha'
2023-02-21T10:45:04.0363692Z ##[debug]=> '0867a7cd9b55637ef0ded6603ff1647d910bcab6'
2023-02-21T10:45:04.0364005Z ##[debug]Result: '0867a7cd9b55637ef0ded6603ff1647d910bcab6'
2023-02-21T10:45:04.0365681Z ##[debug]Loading env
2023-02-21T10:45:04.0369457Z Post job cleanup.
2023-02-21T10:45:04.0912650Z ##[debug]Node Action run completed with exit code 0
2023-02-21T10:45:04.0914935Z ##[debug]Finishing: Post Glob match
2023-02-21T10:45:04.0918725Z ##[debug]Evaluating condition for step: 'Post Run actions/checkout@v2'
2023-02-21T10:45:04.0920182Z ##[debug]Evaluating: always()
2023-02-21T10:45:04.0920509Z ##[debug]Evaluating always:
2023-02-21T10:45:04.0920801Z ##[debug]=> true
2023-02-21T10:45:04.0921471Z ##[debug]Result: true
2023-02-21T10:45:04.0922026Z ##[debug]Starting: Post Run actions/checkout@v2
2023-02-21T10:45:04.0944598Z ##[debug]Loading inputs
2023-02-21T10:45:04.0945524Z ##[debug]Evaluating: github.repository
2023-02-21T10:45:04.0945797Z ##[debug]Evaluating Index:
2023-02-21T10:45:04.0946142Z ##[debug]..Evaluating github:
2023-02-21T10:45:04.0946388Z ##[debug]..=> Object
2023-02-21T10:45:04.0946613Z ##[debug]..Evaluating String:
2023-02-21T10:45:04.0946848Z ##[debug]..=> 'repository'
2023-02-21T10:45:04.0947142Z ##[debug]=> 'keneanung/glob-action-tests'
2023-02-21T10:45:04.0947447Z ##[debug]Result: 'keneanung/glob-action-tests'
2023-02-21T10:45:04.0948840Z ##[debug]Evaluating: github.token
2023-02-21T10:45:04.0949113Z ##[debug]Evaluating Index:
2023-02-21T10:45:04.0949339Z ##[debug]..Evaluating github:
2023-02-21T10:45:04.0949569Z ##[debug]..=> Object
2023-02-21T10:45:04.0949788Z ##[debug]..Evaluating String:
2023-02-21T10:45:04.0950006Z ##[debug]..=> 'token'
2023-02-21T10:45:04.0950609Z ##[debug]=> '***'
2023-02-21T10:45:04.0950947Z ##[debug]Result: '***'
2023-02-21T10:45:04.0955531Z ##[debug]Loading env
2023-02-21T10:45:04.0959576Z Post job cleanup.
2023-02-21T10:45:04.2230566Z ##[debug]Getting git version
2023-02-21T10:45:04.2258451Z [command]/usr/bin/git version
2023-02-21T10:45:04.2299467Z git version 2.39.2
2023-02-21T10:45:04.2318821Z ##[debug]Set git useragent to: git/2.39.2 (github-actions-checkout)
2023-02-21T10:45:04.2324998Z ::add-mask::***
2023-02-21T10:45:04.2338073Z Temporarily overriding HOME='/home/runner/work/_temp/977c7cfe-ca34-4d3e-93fc-c945090b16b5' before making global git config changes
2023-02-21T10:45:04.2338762Z Adding repository directory to the temporary git global config as a safe directory
2023-02-21T10:45:04.2342826Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/glob-action-tests/glob-action-tests
2023-02-21T10:45:04.2380638Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2023-02-21T10:45:04.2421900Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2023-02-21T10:45:04.2629500Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2023-02-21T10:45:04.2653286Z http.https://github.com/.extraheader
2023-02-21T10:45:04.2661760Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2023-02-21T10:45:04.2694117Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2023-02-21T10:45:04.2898309Z ##[debug]Unsetting HOME override
2023-02-21T10:45:04.3020550Z ##[debug]Node Action run completed with exit code 0
2023-02-21T10:45:04.3022532Z ##[debug]Finishing: Post Run actions/checkout@v2
2023-02-21T10:45:04.3134914Z ##[debug]Starting: Complete job
2023-02-21T10:45:04.3136538Z Uploading runner diagnostic logs
2023-02-21T10:45:04.3190726Z ##[debug]Starting diagnostic file upload.
2023-02-21T10:45:04.3191063Z ##[debug]Setting up diagnostic log folders.
2023-02-21T10:45:04.3193194Z ##[debug]Creating diagnostic log files folder.
2023-02-21T10:45:04.3213256Z ##[debug]Copying 1 worker diagnostic logs.
2023-02-21T10:45:04.3232024Z ##[debug]Copying 1 runner diagnostic logs.
2023-02-21T10:45:04.3233394Z ##[debug]Zipping diagnostic files.
2023-02-21T10:45:04.3279488Z ##[debug]Uploading diagnostic metadata file.
2023-02-21T10:45:04.3308893Z ##[debug]Diagnostic file upload complete.
2023-02-21T10:45:04.3309508Z Completed runner diagnostic log upload
2023-02-21T10:45:04.3309761Z Cleaning up orphan processes
2023-02-21T10:45:04.3600023Z ##[debug]Finishing: Complete job
2023-02-21T10:45:04.3720525Z ##[debug]Finishing: glob

Anything else?

A minimal repro repository can be found at https://github.com/keneanung/glob-action-tests

Code of Conduct

  • I agree to follow this project's Code of Conduct

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • chore(deps): lock file maintenance

Other Branches

These updates are pending. To force PRs open, click the checkbox below.

  • chore(deps): replace dependency eslint-config-standard-with-typescript with eslint-config-love ^43.0.1

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/codacy-analysis.yml
  • actions/checkout v4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
  • codacy/codacy-analysis-cli-action v4.4.0
  • github/codeql-action v3
.github/workflows/codeql.yml
  • actions/checkout v4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
  • github/codeql-action v3
  • github/codeql-action v3
  • github/codeql-action v3
.github/workflows/renovate.yml
  • actions/checkout v4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
  • tj-actions/renovate-config-validator v2
.github/workflows/sync-release-version.yml
  • actions/checkout v4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
  • tj-actions/release-tagger v4
  • tj-actions/sync-release-version v13
  • tj-actions/git-cliff v1
  • tj-actions/semver-diff v3
  • actions/setup-node v4
  • peter-evans/create-pull-request v6.0.5
.github/workflows/test.yml
  • actions/checkout v4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
  • actions/setup-node v4.0.2
  • tj-actions/eslint-changed-files v25
  • tj-actions/verify-changed-files v19
  • actions/upload-artifact v4
  • codacy/codacy-coverage-reporter-action v1
  • actions/checkout v4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
  • actions/download-artifact v4
.github/workflows/update-readme.yml
  • actions/checkout v4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
  • tj-actions/auto-doc v3
  • tj-actions/remark v3
  • tj-actions/verify-changed-files v19
  • peter-evans/create-pull-request v6
npm
package.json
  • @actions/core 1.10.1
  • @actions/exec 1.1.1
  • @actions/glob 0.4.0
  • minimatch ^9.0.0
  • uuid 9.0.1
  • @eslint/eslintrc ^3.0.2
  • @eslint/js ^9.1.1
  • @types/jest ^29.5.12
  • @types/node 20.12.8
  • @types/uuid 9.0.8
  • @typescript-eslint/eslint-plugin 7.8.0
  • @vercel/ncc 0.38.1
  • eslint ^9.1.1
  • eslint-config-prettier ^9.0.0
  • eslint-config-standard-with-typescript ^43.0.1
  • eslint-plugin-eslint-comments ^3.2.0
  • eslint-plugin-filenames ^1.3.2
  • eslint-plugin-github 4.10.2
  • eslint-plugin-i18n-text ^1.0.1
  • eslint-plugin-import ^2.25.2
  • eslint-plugin-jest 28.5.0
  • eslint-plugin-n ^15.0.0 || ^16.0.0 || ^17.0.0
  • eslint-plugin-no-only-tests ^3.1.0
  • eslint-plugin-prettier ^5.0.0-alpha.2
  • eslint-plugin-promise ^6.0.0
  • globals ^15.0.0
  • jest 29.7.0
  • prettier 3.2.5
  • ts-jest ^29.1.2
  • typescript 5.4.5

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.