summary refs log tree commit diff
path: root/.github
diff options
context:
space:
mode:
authorzowoq <59103226+zowoq@users.noreply.github.com>2020-08-11 12:24:21 +1000
committerzowoq <59103226+zowoq@users.noreply.github.com>2020-08-11 12:24:21 +1000
commitcde25fe6251d5b7bf7fbea5ae9f87433d69384f6 (patch)
tree0897ce351cccc7b0abf4d22d702c4d85529a40ae /.github
parent0ea35cf25cb42304dfadf9c6ceb590f1d9c3ad8c (diff)
downloadnixpkgs-cde25fe6251d5b7bf7fbea5ae9f87433d69384f6.tar
nixpkgs-cde25fe6251d5b7bf7fbea5ae9f87433d69384f6.tar.gz
nixpkgs-cde25fe6251d5b7bf7fbea5ae9f87433d69384f6.tar.bz2
nixpkgs-cde25fe6251d5b7bf7fbea5ae9f87433d69384f6.tar.lz
nixpkgs-cde25fe6251d5b7bf7fbea5ae9f87433d69384f6.tar.xz
nixpkgs-cde25fe6251d5b7bf7fbea5ae9f87433d69384f6.tar.zst
nixpkgs-cde25fe6251d5b7bf7fbea5ae9f87433d69384f6.zip
.github/workflows: disable
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/editorconfig.yml29
-rw-r--r--.github/workflows/wait-ofborg.yml37
2 files changed, 0 insertions, 66 deletions
diff --git a/.github/workflows/editorconfig.yml b/.github/workflows/editorconfig.yml
deleted file mode 100644
index d79ea9a98f2..00000000000
--- a/.github/workflows/editorconfig.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-name: "Checking EditorConfig"
-
-on:
-  pull_request:
-
-jobs:
-  tests:
-    runs-on: ubuntu-latest
-    steps:
-    - uses: actions/checkout@v2
-      with:
-        fetch-depth: 0
-    - uses: technote-space/get-diff-action@v3.0.0
-    - name: Fetch editorconfig-checker
-      if: env.GIT_DIFF
-      env:
-        VERSION: "2.1.0"
-        OS: "linux"
-        ARCH: "amd64"
-        ECC_URL: "https://github.com/editorconfig-checker/editorconfig-checker/releases/download"
-      run: |
-        curl -sSf -O -L -C - $ECC_URL/$VERSION/ec-$OS-$ARCH.tar.gz && \
-        tar xzf ec-$OS-$ARCH.tar.gz && \
-        mv ./bin/ec-$OS-$ARCH ./bin/editorconfig-checker
-    - name: Checking EditorConfig
-      if: env.GIT_DIFF
-      run: |
-        ./bin/editorconfig-checker -disable-indentation \
-        ${{ env.GIT_DIFF }}
diff --git a/.github/workflows/wait-ofborg.yml b/.github/workflows/wait-ofborg.yml
deleted file mode 100644
index 6ddf00bb1ef..00000000000
--- a/.github/workflows/wait-ofborg.yml
+++ /dev/null
@@ -1,37 +0,0 @@
-name: "Wait for ofborg"
-on:
-  pull_request:
-jobs:
-  tests:
-    runs-on: ubuntu-latest
-    steps:
-    - name: Wait for ofborg CI
-      run: |
-        # Wait for ofborg ...
-        # eval sometimes takes a bit longer on staging.
-        if [[ "$BASE_BRANCH" == "staging" ]]; then
-          COUNTDOWN=$((COUNTDOWN*2))
-        fi
-        # ..in future a better fix would be to make ofborg mark CI as pending right away.
-        for i in $(seq "$COUNTDOWN"); do
-          res=$(curl --silent \
-            -H "Accept: application/vnd.github.antiope-preview+json" \
-            -H "Authorization: token ${GITHUB_TOKEN}" \
-            "https://api.github.com/repos/NixOS/nixpkgs/commits/${COMMIT}/check-runs" | \
-            jq ".check_runs | map(.app) | map(.id) | contains([${OFBORG_APP_ID}])")
-          if [[ "$res" == "true" ]]; then
-            exit 0
-          fi
-          sleep 5
-          echo "."
-        done
-        echo "Timeout!"
-        exit 1
-      # ofborg is not checking forks.
-      if: github.repository_owner == 'NixOS'
-      env:
-        BASE_BRANCH: ${{ github.base_ref }}
-        COUNTDOWN: 540 # wait for ~45min...
-        GITHUB_TOKEN: ${{ github.token }}
-        COMMIT: ${{ github.event.pull_request.head.sha }}
-        OFBORG_APP_ID: 20500