Description
Hi,
I'm trying currently facing an issue where i try to bulk some actions.
Actions are created but instantly canceled. the last one create will run.
i use the following api :
api/v1/repos/test/netbox-automation/actions/workflows/file.yaml/dispatches
with the following api calls:
{
"ref": "master",
"inputs": {
"name": dev_name,
"ip": ip_address,
"port": port
}
}
This is my workflow:
name: NetBox - Add Device
run-name: "NetBox Add: ${{ inputs.name }} (${{ inputs.ip }}) - ${{ github.workflow }}"
on:
workflow_dispatch:
inputs:
name:
description: 'Device Name'
required: true
ip:
description: 'Device IP'
required: true
port:
description: 'SSH Port'
required: true
jobs:
add_to_netbox:
runs-on: debian-latest
container:
image: gitea.wassenaar.cloud/wilroffreitsma/netbox-automation/netbox-runner:latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run NetBox Add Device
env:
NETBOX_URL: ${{ secrets.NETBOX_URL }}
NETBOX_TOKEN: ${{ secrets.NETBOX_TOKEN }}
DEV_NAME: ${{ github.event.inputs.name }}
DEV_IP: ${{ github.event.inputs.ip }}
DEV_PORT: ${{ github.event.inputs.port }}
run: |
# pynetbox is already pre-installed in the image!
python3 netbox_scripts/add_device.py
result:
Gitea Version
1.25.5
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Docker Container
Database
None
Description
Hi,
I'm trying currently facing an issue where i try to bulk some actions.
Actions are created but instantly canceled. the last one create will run.
i use the following api :
api/v1/repos/test/netbox-automation/actions/workflows/file.yaml/dispatcheswith the following api calls:
This is my workflow:
result:
Gitea Version
1.25.5
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Docker Container
Database
None