Run buildifier --lint=fix
diff --git a/third_party/protobuf/3.6.1/protobuf.bzl b/third_party/protobuf/3.6.1/protobuf.bzl
index 3a0decd..50f162d 100644
--- a/third_party/protobuf/3.6.1/protobuf.bzl
+++ b/third_party/protobuf/3.6.1/protobuf.bzl
@@ -107,7 +107,7 @@
         inputs += [plugin]
 
     if args:
-        ctx.action(
+        ctx.actions.run(
             inputs = inputs,
             outputs = ctx.outputs.outs,
             arguments = args + import_flags + [s.path for s in srcs],
@@ -272,7 +272,7 @@
       srcs: the well known protos
     """
     root = Label("%s//protobuf_java" % native.repository_name()).workspace_root
-    pkg = PACKAGE_NAME + "/" if PACKAGE_NAME else ""
+    pkg = native.package_name() + "/" if native.package_name() else ""
     if root == "":
         include = " -I%ssrc " % pkg
     else: