Unverified Commit 13855a51 authored by Wolfgang Walther's avatar Wolfgang Walther Committed by GitHub
Browse files

ci/github-script: move from ci/labels; allow single PR testing and non-dry mode (#424872)

parents fef29b57 cdd1931a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ jobs:
      - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
        with:
          sparse-checkout: |
            ci/labels
            ci/github-script

      - name: Install dependencies
        run: npm install @actions/artifact bottleneck
@@ -69,7 +69,7 @@ jobs:
          github-token: ${{ steps.app-token.outputs.token || github.token }}
          retries: 3
          script: |
            require('./ci/labels/labels.cjs')({
            require('./ci/github-script/labels.js')({
              github,
              context,
              core,
+3 −0
Original line number Diff line number Diff line
[run]
indent_style = space
indent_size = 2
+0 −0

File moved.

+0 −0

File moved.

+13 −0
Original line number Diff line number Diff line
# GitHub specific CI scripts

This folder contains [`actions/github-script`](https://github.com/actions/github-script)-based JavaScript code.
It provides a `nix-shell` environment to run and test these actions locally.

To run any of the scripts locally:

- Enter `nix-shell` in `./ci/github-script`.
- Ensure `gh` is authenticated.

## Labeler

Run `./run labels OWNER REPO`, where OWNER is your username or "NixOS" and REPO the name of your fork or "nixpkgs".
Loading