Compare commits
5 Commits
635eac655b
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| ff3b0de43a | |||
| 1cbf81d40f | |||
|
a1ce618713
|
|||
|
6aaebdff9a
|
|||
|
5c82a53361
|
9
.drone.yml
Executable file
9
.drone.yml
Executable file
@@ -0,0 +1,9 @@
|
||||
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: "test"
|
||||
steps:
|
||||
- name: test
|
||||
image: harbor.front.kjuulh.io/docker-proxy/library/bash:latest
|
||||
commands:
|
||||
- echo 'Run tests'
|
||||
@@ -1,5 +1,3 @@
|
||||
local notify = require "github_presence.notify"
|
||||
|
||||
local M = {}
|
||||
|
||||
function M.set_status(activity)
|
||||
@@ -7,7 +5,6 @@ function M.set_status(activity)
|
||||
local _ = vim.fn.systemlist(
|
||||
string.format("github-status --message 'Currently editting: %s'", activity.file)
|
||||
)
|
||||
notify.info "set status"
|
||||
end
|
||||
|
||||
return M
|
||||
|
||||
@@ -7,7 +7,10 @@ return {
|
||||
timer:start(
|
||||
1000,
|
||||
1000 * 60,
|
||||
vim.schedule_wrap(function() github.set_status(updates.last_activity) end)
|
||||
vim.schedule_wrap(function()
|
||||
if updates.last_activity == nil then return end
|
||||
github.set_status(updates.last_activity)
|
||||
end)
|
||||
)
|
||||
end,
|
||||
}
|
||||
|
||||
3
renovate.json
Normal file
3
renovate.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
|
||||
}
|
||||
Reference in New Issue
Block a user