Skip to content

Commit

Permalink
Give up on running actions with openwrt and merges
Browse files Browse the repository at this point in the history
Its starting to feel like the github runner just doesnt expose the merge
as a cloneable SHA in any useful way.  Since the openwrt build system
/must/ clone a repo from somewhere, this makes it impossible to easily
use it.

TODO: construct a local file url for the cloning?
  • Loading branch information
hamishcoleman committed Apr 22, 2024
1 parent 618482a commit 6776bf8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@ jobs:
package_ipk:
name: Package for OpenWrt
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'

strategy:
fail-fast: true
Expand Down Expand Up @@ -405,7 +406,7 @@ jobs:
run: |
echo "BUILD_VERSION=$(scripts/version.sh)" >> "$GITHUB_ENV"
echo "BUILD_SOURCE_URL=https://github.com/${{github.repository}}" >> "$GITHUB_ENV"

Check warning on line 408 in .github/workflows/tests.yml

View workflow job for this annotation

GitHub Actions / Code syntax

408:81 [line-length] line too long (92 > 80 characters)
echo "BUILD_SOURCE_REF=$GITHUB_REF" | sed -e 's%/merge$%%' >> "$GITHUB_ENV"
echo "BUILD_SOURCE_REF=$GITHUB_REF" >> "$GITHUB_ENV"
cat "$GITHUB_ENV"
working-directory: n3n

Expand Down

0 comments on commit 6776bf8

Please sign in to comment.