Skip to content

Update balena-os/balena-yocto-scripts action to v1.27.16 #1022

Update balena-os/balena-yocto-scripts action to v1.27.16

Update balena-os/balena-yocto-scripts action to v1.27.16 #1022

name: Orange Pi Plus2
on:
pull_request:
branches:
- main
- master
# ESR branches glob pattern
- "[0-9]+.[0-9]+.x"
pull_request_target:
branches:
- main
- master
# ESR branches glob pattern
- "[0-9]+.[0-9]+.x"
jobs:
yocto:

Check failure on line 18 in .github/workflows/orangepi-plus2.yml

View workflow run for this annotation

GitHub Actions / Orange Pi Plus2

Invalid workflow file

The workflow is not valid. .github/workflows/orangepi-plus2.yml (Line: 18, Col: 3): Error calling workflow 'balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@3eebec1f898038f5bbee0fcccb62b7178db2ef47'. The nested job 'build' is requesting 'actions: read, pull-requests: write, id-token: write', but is only allowed 'actions: none, pull-requests: none, id-token: none'.
name: Yocto
uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@3eebec1f898038f5bbee0fcccb62b7178db2ef47 # v1.27.16
# Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events.
# Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork.
# This condition will prevent the workflow from running twice for the same pull request while
# still allowing it to run for all other event types.
if: (github.event.pull_request.head.repo.full_name == github.repository) == (github.event_name == 'pull_request')
secrets: inherit
with:
# Needed for testing - defaults to production
deploy-environment: balena-staging.com
machine: orangepi-plus2
device-repo: balena-os/balena-allwinner
device-repo-ref: master
# Pin to the current commit
meta-balena-ref: ${{ github.sha }}