Skip to content

Commit

Permalink
Remove temporal testing code
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Nov 1, 2024
1 parent ee8c265 commit 0b86d5a
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/notify-nixpkgs-news.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
detect:
runs-on: ubuntu-24.04
outputs:
GH-846: ${{ steps.find.outputs.GH-846 }}
GH-902: ${{ steps.find.outputs.GH-902 }}
steps:
- uses: actions/checkout@v4
Expand All @@ -30,22 +29,6 @@ jobs:
run: |
set +e # Avoid grep error for not found
# Passing example for test
git grep --quiet --fixed-string -e 'installShellCompletion' pkgs/by-name/ca/cargo-make/package.nix
result_846=$?
case "$result_846" in
0)
echo 'GH-846=true' | tee --append "$GITHUB_OUTPUT"
;;
1)
echo 'GH-846 related commit is not yet merged'
;;
*)
exit "$result_846"
;;
esac
git grep --quiet --fixed-string -e 'platforms = lib.platforms.linux ++ lib.platforms.darwin' pkgs/by-name/ze/zed-editor/package.nix
result_902=$?
Expand All @@ -72,11 +55,6 @@ jobs:
run: |
set -x
# Passing example for test
if [[ '${{ needs.detect.outputs.GH-846 }}' == 'true' ]]; then
gh issue comment '846' --body "🤖(GH-846): https://github.com/NixOS/nixpkgs/tree/nixos-unstable looks like merged https://github.com/NixOS/nixpkgs/commit/3137334d7556e24e3f582681142e505b4d7915a8"
fi
if [[ '${{ needs.detect.outputs.GH-902 }}' == 'true' ]]; then
gh issue comment '902' --body "🤖(GH-846): https://github.com/NixOS/nixpkgs/tree/nixos-unstable looks like merged https://github.com/NixOS/nixpkgs/commit/67d8538ef6a8b6933de55c09dfcad679a5618868"
fi

0 comments on commit 0b86d5a

Please sign in to comment.