You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for instance_id in $(linode-cli linodes list --format "id" --text --no-header); do
141
+
echo "Attaching firewall to instance: $instance_id"
142
+
if linode-cli firewalls device-create "$FIREWALL_ID" --id "$instance_id" --type linode; then
143
+
echo "Firewall attached to instance $instance_id successfully."
144
+
else
145
+
echo "An error occurred while attaching firewall to instance $instance_id. Skipping..."
146
+
fi
147
+
done
148
+
env:
149
+
LINODE_CLI_TOKEN: ${{ env.LINODE_TOKEN }}
150
+
109
151
notify-slack:
110
152
runs-on: ubuntu-latest
111
153
needs: [integration-tests]
112
-
if: always() && github.repository == 'linode/linode_api4-python' # Run even if integration tests fail and only on main repository
154
+
if: ${{ (success() || failure()) && github.repository == 'linode/linode_api4-python' }}# Run even if integration tests fail and only on main repository
0 commit comments